Using libcurl on iOS 5 as an alternative to NSURLConnection
Update: NSURLConnection now seems to properly support 100-Continue. In any case, this answer contains a link to the script to build libcurl for iOS/OSX. I'm having a bit of a hard time with NSURLConnection , given that it doesn't support Section 8.2.3 of RFC 2616 (HTTP/1.1). Basically the client needs to be able to support sending the header Expect: 100-Continue ; after sending the request headers, it must wait for a response from the server with the status code 100 before sending the POST / PUT body. Furthermore, NSURLConnection (and consequently all libs that build on top of it) won't return