• 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: Prevent NSURLConnection retry
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent NSURLConnection retry


  • Subject: Re: Prevent NSURLConnection retry
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Wed, 30 Nov 2011 16:13:04 +0000

On 30 Nov 2011, at 15:15, Jeff Johnson wrote:

> Unfortunately, -connection:willSendRequest:redirectResponse: is only called once (with nil redirectResponse, as usual). Could that be considered a bug?

That depends on how you look at it.  Usually the willSendRequest delegate callback is associated with redirection, which clearly isn't happening in this case.  OTOH, see below.

> I replaced it with some CFStream code that I already had. Which I seem to be doing more and more often with NSURLConnection...

Yeah, you need to start talking to a better class of server (-:

Seriously though, any time you hit something that causes you to switch from NSURLConnection to CFHTTPStream, please let us know by filing a bug.

<http://developer.apple.com/bugreporter/>

Our general goal is you guys to use our high-level APIs.  Obviously we can't accommodate every buggy broken server out there, but it's good to at least know about them.

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

  • Follow-Ups:
    • Re: Prevent NSURLConnection retry
      • From: Mark Pauley <email@hidden>
References: 
 >Prevent NSURLConnection retry (From: Jeff Johnson <email@hidden>)
 >Re: Prevent NSURLConnection retry (From: Jens Alfke <email@hidden>)
 >Re: Prevent NSURLConnection retry (From: Jeff Johnson <email@hidden>)

  • Prev by Date: Re: Prevent NSURLConnection retry
  • Next by Date: Re: Prevent NSURLConnection retry
  • Previous by thread: Re: Prevent NSURLConnection retry
  • Next by thread: Re: Prevent NSURLConnection retry
  • Index(es):
    • Date
    • Thread