HTTP Headers

2008-05-03 Thread Jeremy
Hello, Is there an easy way within Obj-C to read HTTP headers, to write HTTP headers, and to send HTTP headers? As this will be the easiest way for me to authenticate for an XML API I am using, and to read http status codes (if the action was completed - or the error). Jeremy For a long

Re: HTTP Headers

2008-05-03 Thread Uli Kusterer
Am 03.05.2008 um 23:35 schrieb Jeremy: Is there an easy way within Obj-C to read HTTP headers, to write HTTP headers, and to send HTTP headers? As this will be the easiest way for me to authenticate for an XML API I am using, and to read http status codes (if the action was completed

Re: HTTP Headers

2008-05-03 Thread Jeremy
So... Using [NSURLRequest HTTPBody]; will return what is returned. I don't see any way to build and send HTTP headers. Jeremy For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that a computer is a stupid machine

Re: HTTP Headers

2008-05-03 Thread Kyle Sluder
On Sat, May 3, 2008 at 6:05 PM, Jeremy [EMAIL PROTECTED] wrote: So... Using [NSURLRequest HTTPBody]; will return what is returned. I don't see any way to build and send HTTP headers. NSMutableURLRequest has all of that. --Kyle Sluder ___ Cocoa