• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does NSURLConnection support "Expect: 100-continue"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Does NSURLConnection support "Expect: 100-continue"?
  • From: Becky Willrich <email@hidden>
  • Date: Tue, 8 May 2007 10:04:35 -0700

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:
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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Does NSURLConnection support "Expect: 100-continue"?
      • From: Dave Dribin <email@hidden>
References: 
 >Does NSURLConnection support "Expect: 100-continue"? (From: Dave Dribin <email@hidden>)

  • Prev by Date: Does NSURLConnection support "Expect: 100-continue"?
  • Next by Date: SSH inside Objective C
  • Previous by thread: Does NSURLConnection support "Expect: 100-continue"?
  • Next by thread: Re: Does NSURLConnection support "Expect: 100-continue"?
  • Index(es):
    • Date
    • Thread