• 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: Bug in CFHTTPMessageAddAuthentication?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in CFHTTPMessageAddAuthentication?


  • Subject: Re: Bug in CFHTTPMessageAddAuthentication?
  • From: Becky Willrich <email@hidden>
  • Date: Thu, 9 Feb 2006 13:04:50 -0800

What release is the client running happening on? - REW


On Feb 9, 2006, at 12:58 PM, Frederick Cheung wrote:

I'm using CFNetwork for all my http transfer needs. I use proxy settings as returned by the SystemConfiguration framework, and my app can get the passwords for proxies from the keychain.
If I get a 407 response, I store the failed request, and the following code is then called (on a fresh CFHTTPMessageRef)


CFHTTPMessageAddAuthentication(request,param- >proxyFailedRequest,httpProxyUser,httpProxyPassword,NULL,true)

This normally works swimingly, however yesterday a user emailed in because my app wasn't able to get through his corporate proxy, the reason being that CFHTTPMessageAddAuthentication was failing and thus no credentials were being set
However, if I called CFHTTPMessageAddAuthentication specifying kCFHTTPAuthenticationSchemeBasic then CFHTTPMessageAddAuthentication works fine (actually I first try kCFHTTPAuthenticationSchemeDigest, then kCFHTTPAuthenticationSchemeBasic).


The Proxy-Authenticate challenge was
NTLM, Basic realm="ukbisaw01.prod.quest.corp", Kerberos, Negotiate

Any ideas as to what might be happening?

Fred _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Bug in CFHTTPMessageAddAuthentication? (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Bug in CFHTTPMessageAddAuthentication?
  • Next by Date: Not able to get success with setsockopt
  • Previous by thread: Bug in CFHTTPMessageAddAuthentication?
  • Next by thread: Not able to get success with setsockopt
  • Index(es):
    • Date
    • Thread