curl-users
Re: Expect: 100-continue with another Expect header does not always wait for a response
Date: Wed, 16 Feb 2011 15:04:56 -0600
On Mon, Feb 14, 2011 at 5:46 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> Internally, curl looks for manually-set headers using the Curl_checkheaders()
> function and compares the header found with "100-continue". If it doesn't
> match, then curl acts as though 100-continue has been overridden and operates
> accordingly (i.e. without waiting). But Curl_checkheaders() only checks the
> first Expect: header in its list, so if two Expect: headers exist, only the
> first one determines this behaviour. The ordering of the -H options is
> therefore significant to curl.
>
>>>> Dan
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
Okay, thanks Dan! I appreciate your help and will be sure to keep this in mind.
---Brian
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-16