Re: NSURLConnection and 403 Error
Re: NSURLConnection and 403 Error
- Subject: Re: NSURLConnection and 403 Error
- From: Pascal Pochet <email@hidden>
- Date: Tue, 22 Nov 2005 13:23:21 +0100
This just means that Safari provides the username:password
automatically when the server requests it to access the page because
you have already accessed this page before and you have authorized
Safari to cache the login information (e.g. in Keychain)
When accessing by code the same page you have to supply the login
info too…
(look at HTTP protocol specs or use CURLHandle.framework…)
You may also encounter similar access problems regarding the handling
of cookies…
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
Le 22-nov.-05 à 12:10, email@hidden a écrit :
I'm using NSUrlConnecion to retrieve html pages informations, but
when I retrieve info from my app, it returns 403 error code, but
when I try using Safari, and I link directly from the web page it
goes.
The page requires no authentication.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden