W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2009

Re: CONNECT command with message body

From: Adrien de Croy <adrien@qbik.com>
Date: Mon, 18 May 2009 16:24:18 +1200
Message-ID: <4A10E2F2.6010804@qbik.com>
To: Jamie Lokier <jamie@shareable.org>
CC: Daniel Stenberg <daniel@haxx.se>, HTTP Working Group <ietf-http-wg@w3.org>

yes - Content-Length: 0

Adrien

Jamie Lokier wrote:
> Adrien de Croy wrote:
>   
>> As part of the general theory that CONNECT or its response message may 
>> contain an entity-body, I did some testing with including a 
>> Content-Length header in the response message.
>>
>> This caused a lot of problems for some browsers.
>>
>> 1. Goole chrome crashed immediately.
>> 2. Firefox reported that it was still waiting for transfers to complete 
>> even though everything had been sent through. 
>> 3. IE 7, ok.
>>
>> in the case of Chrome and Firefox, the problems went away as soon as the 
>> Content-Length header was removed from the connect response.
>>
>> I view this as a bug in FF and Chrome, however it's odd that these 
>> browser at least consider that it's illegal to have an entity body on a 
>> CONNECT reponse, and it makes me therefore highly reluctant to put the 
>> header in.
>>     
>
> Does that include a "Content-Length: 0"?
> Not that there's any point in it.
>
> -- Jamie
>   

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
Received on Monday, 18 May 2009 04:21:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:03 GMT