Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does NSURLConnection support "Expect: 100-continue"?



NSURLConnection supports 100 Continue in the sense that if the server sends a 100 Continue response, NSURLConnection will properly parse and discard the 100 Continue sent by the server and wait for the "true" response. However, it does not support Expect: 100-continue in the sense of attaching it to the request header, then waiting for the server's 100 Continue prior to transmission of the request body.

We've never had a request for this before; if this is functionality you need, please file a bug report that includes an explanation of how it's helpful to you. Thanks!

- REW



On May 8, 2007, at 8:10 AM, Dave Dribin wrote:

Hello,

Does NSURLConnection support the "Expect: 100-continue" header?

 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.20>

 <http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.3>

From writing a quick test, it doesn't seem that it does. Even if I explicitly add an "Expect: 100-continue" header, the client sends the whole body, instead of waiting for "100" response from the server.

-Dave

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Does NSURLConnection support "Expect: 100-continue"? (From: Dave Dribin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.