Re: CFHTTPMessageAddAuthentication only works once?
Re: CFHTTPMessageAddAuthentication only works once?
- Subject: Re: CFHTTPMessageAddAuthentication only works once?
- From: Jeremy Wyld <email@hidden>
- Date: Thu, 10 Feb 2005 10:28:14 -0800
In this manner, yes. Effectively, the first bad password caused an
invalidation of the underlying structures which
CFHTTPMessageAddAuthentication uses.
jeremy
On Feb 10, 2005, at 9:52 AM, Miro Jurišić wrote:
The sequence of events in my code is:
1. Make a CFHTTPMessageRef with no auth
2. Make a CFReadStreamRef from the message
3. Open the stream and read from it
4. Receive HTTP 401 response
5. Ask user for password
6. Call CFHTTPMessageAddAuthentication on the original message
7. Make a new stream, open it, read from it
8. Receive 401 again because the user entered an incorrect password
9. Ask user for password
10. Call CFHTTPMessageAddAuthentication on the original message
11. Make a new stream, open it, read from it
12. Receive 401 again even though the user entered the correct
password
Am I missing something or does CFHTTPMessageAddAuthentication
effectively only work once?
Thanks,
meeroh
--
<http://web.meeroh.org/> | KB1FMP
"And when I have understanding of computers, I shall be
the supreme being!" -- Evil, "Time Bandits"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
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