CFHTTPMessageAddAuthentication only works once?
CFHTTPMessageAddAuthentication only works once?
- Subject: CFHTTPMessageAddAuthentication only works once?
- From: Miro Jurišić <email@hidden>
- Date: Thu, 10 Feb 2005 12:52:04 -0500
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:
This email sent to email@hidden