Re: NSURLConnection callbacks in the presence of errors
Re: NSURLConnection callbacks in the presence of errors
- Subject: Re: NSURLConnection callbacks in the presence of errors
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Mon, 13 Jan 2014 18:11:23 +0000
On 13 Jan 2014, at 17:43, Jens Alfke <email@hidden> wrote:
> Until then, is there any workaround on the server side?
The sniffing is done more or less as described in the following Internet draft.
<http://tools.ietf.org/id/draft-abarth-mime-sniff-04.txt>
If you set the "Content-Type" to something that doesn't trigger sniffing, the response is delivered promptly. In my case, I repeated my earlier test but added the header:
Content-Type: x-application/json
and I got the data immediately.
Share and Enjoy
--
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