W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 1997

Re: Last-Modified in chunked footer

From: Koen Holtman <koen@win.tue.nl>
Date: Tue, 9 Sep 1997 20:14:18 +0200 (MET DST)
Message-Id: <199709091814.UAA01883@wsooti08.win.tue.nl>
To: Dave Kristol <dmk@bell-labs.com>
Cc: koen@win.tue.nl, http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/4379
Dave Kristol:
>Koen Holtman wrote:
>> Did we already discuss the problem of a proxy which gets a chunked 1.1
>> response and forwards it unchunked to a 1.0 recipient?  It seems to me
>> that, if we don't define something different explicitely, this proxy
>> would be obliged to move all chunked footer-headers to the 1.0 message
>> header before forewarding the response as a 1.0 response.  This
>> obligation would be a pain because it requires buffering of the whole
>> response.  So we should either allow a proxy to drop the
>> footer-headers when converting to 1.0, or there should at least be some
>> advance notification that these headers will be present, so that
>> buffering can be avoided most of the time.  The first alternative
>> seems best to me.
>But a proxy that wants to convert a chunked response to an HTTP/1.0 (one
>chunk) response has to buffer the response anyway, no?  

No, it can forward the unchunked data on the fly and signal the end of
the 1.0 response by closing the connection.  And this method would be
the preferred one, because it allows the 1.0 user agent to do
incremental rendering.

>So it can easily
>move the headers when it sends the buffered response, and, while it's at
>it, add a Content-Length header.
>Dave Kristol

Received on Tuesday, 9 September 1997 11:18:14 UTC

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