httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: Basic query regarding client-server communication with browser setting HTTP 1.0/1.1
Date Wed, 30 May 2007 06:07:47 GMT
Ben Noordhuis wrote:
> On 5/30/07, Souramita Sen <Souramita_Sen@mindtree.com> wrote:
>> When you say the server forcibly closes the socket, do you mean it closes
>> before sending whole html page. And then the client again connects to the
>> server again and again to get rest of the bytes of text/html page.
> 
>> From http://www.w3.org/Protocols/rfc1945/rfc1945 - section 7.2.2:
> 
> "[...] the length of that body may be determined in one of two ways.
> If a Content-Length header field is present, its value in bytes
> represents the length of the Entity-Body. Otherwise, the body length
> is determined by the closing of the connection by the server."

For 1.1 you want RFC 2616 and also consider Transfer-Encoding: chunked
as a valid mechanism for the size of the body.

Mime
View raw message