Authenticated web services
Authenticated web services
- Subject: Authenticated web services
- From: Steve Luzynski <email@hidden>
- Date: Sun, 25 Jul 2004 22:25:35 -0500
I'm working on a cocoa client for a (third party) web service. It
requires HTTP Digest authentication. There are of course sample clients
in Perl, PHP... anything but Cocoa.
I can't figure out how to handle this. When you make the request, it of
course responds with a 302.
It appears that I could make the initial request, copy the response
dictionary from the (faulted) first attempt, use that to form the
digest authentication response, and attach a CFHTTPMessage property to
the WSMethod and send it again.
But it just feels wrong.
Is there a better way that I'm just not seeing? Or is that the way to
do it?
Thanks,
Steve
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.