• 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
sendSynchronousRequest and didReceiveAuthenticationChallenge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sendSynchronousRequest and didReceiveAuthenticationChallenge


  • Subject: sendSynchronousRequest and didReceiveAuthenticationChallenge
  • From: Torsten Curdt <email@hidden>
  • Date: Tue, 5 Feb 2008 00:55:07 +0100

Hey guys,

While is quite clear how to use the http authentication on a asynchronous NSURLConnection I was wondering whether that is also possible when using it synchronously. The problem is I cannot pass in the delegate for the authentication challenge. I assume that's because the delegate is used for the asynchronous handling that the synchronous method is build on top of ...is that correct?

So the only other solution would be to set the header manually. [NSMutableURLRequest setValue:forHTTPHeaderField:] ...or is there something I missed?

cheers
--
Torsten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: sendSynchronousRequest and didReceiveAuthenticationChallenge
      • From: "Clint Shryock" <email@hidden>
  • Prev by Date: re: [Leopard] SUBQUERY predicate with CoreData
  • Next by Date: Re: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Previous by thread: Fwd: Conceptually understanding Core Animation
  • Next by thread: Re: sendSynchronousRequest and didReceiveAuthenticationChallenge
  • Index(es):
    • Date
    • Thread