• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Authenticated web services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Apple Pro Apps Windows
  • Next by Date: Re: Lost in Linking a Framework within the App bundle
  • Previous by thread: Re: Apple Pro Apps Windows
  • Next by thread: [Feature-Nag] Ability to call modal dialogs/sheets with input?
  • Index(es):
    • Date
    • Thread