On 1 Jul 2015, at 06:03, Jens Alfke <j...@mooseyard.com> wrote:

> I’ve run into a problem with CFHTTPMessageAddAuthentication: it works fine 
> with HTTP Basic auth challenges, but when I try to use it with a Digest auth 
> challenge it fails (returns false.)

Where did you get the CFHTTPMessage from?  If you got it from CFHTTPStream, 
Digest should work.  If you got it from elsewhere--specifically, if you created 
it yourself using CFHTTPMessageCreateResponse or CFHTTPMessageCreateEmpty--you 
will run into problems because Digest needs to know the URL associated with the 
response and there's no public API for you to provide it.  The following post, 
and its associated thread, has more details.

<http://lists.apple.com/archives/macnetworkprog/2013/Dec/msg00004.html>

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to