On 22 Feb 2016, at 19:57, Wim Lewis <w...@omnigroup.com> wrote:

> The other thing that a well-written client can do in that case is make use of 
> the "Expect: continue" header to allow the server to accept or reject the 
> request (or request authorization) before the large POST/PUT body is sent. I 
> don't know offhand if there's a way to get CFNetwork to do that.

IIRC CFNetwork supports this; all you have to do is add the right header to 
your request.

[request setValue:@"100-continue" forHTTPHeaderField:@"Expect"];

Note that it's "100-continue", not "continue".

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to