W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2003

Re: Suggest a site with chunked encoding

From: Patrick R. McManus <mcmanus@ducksong.com>
Date: Fri, 7 Mar 2003 06:43:51 -0500
To: Vijayabhaskar_Mamidi <Vijayabhaskar_Mamidi@Satyam.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20030307114351.GA14599@ducksong.com>

[Vijayabhaskar_Mamidi: Mar 07 11:39]
> I am interested to see the flow of a chunked response comes from a Origin
> server can any one suggest a site which does chunked encoding


> Is it possible to get a connection :close header with chunked reponse.If
> such a thing happens what should/will be the behavior of the client/proxy

sure it's possilble. If you've read the last chunk (the 0 chunk) and
then the connection closes all is good.. if the connection closes
before you've read the last chunk then the response has been truncated
and you should do something about it.. what to do it up to the
client. If you're a cache then marking it uncachable seems like a
smart thing to do with it for starters.

even if the server is going to close the connection, chunking
dynamically generated content is still smart beacuse then the client
doesn't need to rely on overloading the semantics of EOF to separate
an error from end of response body.

> Note: I will just send one request .I will not be doing any stress testing

from your messages the last couple of days it seems that you're
working on an http/1.1 implementation. I'd suggest you go buy _Web
Protocols and Practice_ by Krishnamurthy and Rexford - you'll find it
invaluable in answering all of your questions and, in addition,
teaching you about the questions you should be asking that you haven't
thought of yet.
Received on Friday, 7 March 2003 06:43:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:36 UTC