• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection callbacks in the presence of errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection callbacks in the presence of errors


  • Subject: Re: NSURLConnection callbacks in the presence of errors
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 13 Jan 2014 09:43:26 -0800


On Jan 13, 2014, at 2:19 AM, Quinn The Eskimo! <email@hidden> wrote:

Right.  The underlying cause of this delay is NSURL{Session,Connection}'s content type sniffing: to handle certain edge cases NSURL{Session,Connection} must wait for a certain amount of data to arrive so that it can feed that data into the content type sniffing code.  There should be an option to disable that feature and we're using <rdar://problem/8971926> to track that requirement.

OK, thanks for the info. Until then, is there any workaround on the server side? E.g. can I set any HTTP response headers that will make the framework decide that it doesn’t need to do the content type sniffing?

—Jens
 _______________________________________________
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

  • Follow-Ups:
    • Re: NSURLConnection callbacks in the presence of errors
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >Re: NSURLConnection callbacks in the presence of errors (From: Jens Alfke <email@hidden>)
 >Re: NSURLConnection callbacks in the presence of errors (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: NSURLConnection callbacks in the presence of errors (From: Jens Alfke <email@hidden>)
 >Re: NSURLConnection callbacks in the presence of errors (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: NSURLConnection callbacks in the presence of errors
  • Next by Date: Re: NSURLConnection callbacks in the presence of errors
  • Previous by thread: Re: NSURLConnection callbacks in the presence of errors
  • Next by thread: Re: NSURLConnection callbacks in the presence of errors
  • Index(es):
    • Date
    • Thread