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:26:11 +1200
Message-ID: <4A10E363.10602@qbik.com>
To: Jamie Lokier <jamie@shareable.org>
CC: Daniel Stenberg <daniel@haxx.se>, HTTP Working Group <ietf-http-wg@w3.org>

Jamie Lokier wrote:
> Adrien de Croy wrote:
>   
>> If no Content-Length field is present, and no Transfer-Encoding 
>> specified, then presumably for any request there will be no entity, 
>> since the client would need to disconnect to signal the end of the 
>> entity body.
>>     
>
> Disconnecting to signal the end of the body is only allowed for
> responses.  For requests, it would need to be a TCP half-close and
> that is not mentioned at all in HTTP, and probably not supported by
> most/all servers.
>
>   
that's the basis I've been operating under.  Was just wondering if it 
were explictly prohibited by the spec or not.

Since I didn't want to presume there can be no application where it may 
be valid to send an entity body in a request and then disconnect (i.e. 
if not interested in the response).

Adrien


> -- Jamie
>   

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
Received on Monday, 18 May 2009 04:23:32 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:19 UTC