• 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: 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


  • Follow-Ups:
    • Re: NSURLConnection and 403 Error
      • From: Frederick Cheung <email@hidden>
References: 
 >NSURLConnection and 403 Error (From: email@hidden)

  • Prev by Date: Re: Finding application's idle time?
  • Next by Date: Re: Load Framework at runtime.
  • Previous by thread: Re: NSURLConnection and 403 Error
  • Next by thread: Re: NSURLConnection and 403 Error
  • Index(es):
    • Date
    • Thread