• 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: Force authentication with NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force authentication with NSURLConnection


  • Subject: Re: Force authentication with NSURLConnection
  • From: "Justin R. Miller" <email@hidden>
  • Date: Fri, 16 Mar 2007 13:03:45 -0400

On Mar 16, 2007, at 12:57 PM, Justin R. Miller wrote:

Are you forming an NSURLRequest? Could you use its method:
-(NSString *)valueForHTTPHeaderField:(NSString *)field

to set your Accept-HTTP header?

Oh wait, I see what you mean. You still need a way to set the auth credentials without ever being prompted for them. Hmm.


I don't think that it's a legitimate adherence to the HTTP rules. Probably why Cocoa doesn't implement it... sorry that doesn't help you, but I can't see a way to work around it strictly in Cocoa.

Maybe an NSTask using curl?

--
Justin R. Miller
Code Sorcery Workshop
http://codesorcery.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Force authentication with NSURLConnection
      • From: Dave Dribin <email@hidden>
References: 
 >Force authentication with NSURLConnection (From: Dave Dribin <email@hidden>)
 >Re: Force authentication with NSURLConnection (From: "Justin R. Miller" <email@hidden>)

  • Prev by Date: Re: Force authentication with NSURLConnection
  • Next by Date: coredata sql metadata corruption
  • Previous by thread: Re: Force authentication with NSURLConnection
  • Next by thread: Re: Force authentication with NSURLConnection
  • Index(es):
    • Date
    • Thread