sendSynchronousRequest and didReceiveAuthenticationChallenge
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