Re: WebKit and POST requests
Re: WebKit and POST requests
- Subject: Re: WebKit and POST requests
- From: Alastair Houghton <email@hidden>
- Date: Fri, 22 Jun 2007 17:34:19 +0100
On 21 Jun 2007, at 23:22, Dominik Pich wrote:
Or use CFNetwork - it is well documented btw :)
But... which leads ME to Questions:
1. Are Core Services considered 'bad' ;) meaning carbon or so?
No. Unfortunately there has been a tendency amongst some Carbon and
Cocoa programmers to lump every C API into the "Carbon" bucket, which
I think has muddied the waters somewhat. AFAIK, APIs/frameworks
beginning with the word "Core" are neither Carbon nor Cocoa, and may
be used in either environment.
2. And does NSUrlRequest work better/differently? Like... better
integrated with keychain or so?
I think NSURLRequest et al. are just an Objective-C layer over the
underlying code. If you're asking about features like client
certificates, then AFAIK all of Apple's APIs use Secure Transport,
which (sadly) is currently broken as far as client certificates go...
it can handle *one* client certificate per user, but the moment you
have more than that, it just picks one and sends that...
3. For SOAP there's no Cocoa-API or did I completely miss that?
Very often you don't actually need an API for SOAP, because you know
which requests you're sending and what you're expecting back, so you
can encode the XML "by hand" for the request, and can just parse the
XML that comes back to get a reply.
I'm sure someone has written a SOAP implementation for Cocoa though.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden