Re: Bug in CFHTTPMessageAddAuthentication?
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