Re: NSURLErrorDownloadDecodingFailedMidStream
Re: NSURLErrorDownloadDecodingFailedMidStream
- Subject: Re: NSURLErrorDownloadDecodingFailedMidStream
- From: Quinn <email@hidden>
- Date: Thu, 29 May 2008 10:32:35 +0100
At 22:17 -0700 28/5/08, Mike wrote:
Does anyone know what causes this error and how to download a .dmg
file using NSURLDownload?
When you download a URL the system creates a sequence of decoders
that are responsible for decoding the data. For example, if the data
was gzipped and then base64 encoded, there would be two decoders in
the sequence. The data is passed from one decoder to the next before
being handed up to the client.
This error means that one of these decoders failed.
It's hard to be sure exactly what's causing this. It's likely that
there's some mismatch between the type of data returned by the web
server and the type of data actually returned. For example, the web
server is saying that the data is gzipped but it's not.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden