• 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: NSURLConnection and 403 Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection and 403 Error


  • Subject: Re: NSURLConnection and 403 Error
  • From: Frederick Cheung <email@hidden>
  • Date: Tue, 22 Nov 2005 12:43:24 +0000

On 11/22/05, Pascal Pochet <email@hidden> wrote:
> 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…

When http user/password information is missing the response is usually
401. According to the rfc, 403 specifically means that adding
authorization will not help (although whether servers always comply
with this is another question). It may be the case that the server is
using a cookie based authorisation system or it is expected to see a
particular Referer header.

Fred
 _______________________________________________
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

References: 
 >NSURLConnection and 403 Error (From: email@hidden)
 >Re: NSURLConnection and 403 Error (From: Pascal Pochet <email@hidden>)

  • Prev by Date: Re: Load Framework at runtime.
  • Next by Date: RE: Load Framework at runtime.
  • Previous by thread: Re: NSURLConnection and 403 Error
  • Next by thread: CIImage slower than NSImage?
  • Index(es):
    • Date
    • Thread