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

Re: CONNECT command with message body

From: Jamie Lokier <jamie@shareable.org>
Date: Mon, 18 May 2009 05:16:37 +0100
To: Adrien de Croy <adrien@qbik.com>
Cc: Daniel Stenberg <daniel@haxx.se>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20090518041637.GA32609@shareable.org>
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
Received on Monday, 18 May 2009 04:17:14 GMT

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