W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1997

Re: mid-course errors

From: Dave Kristol <dmk@bell-labs.com>
Date: Wed, 16 Apr 1997 10:14:42 -0400
Message-Id: <3354DED2.2781E494@bell-labs.com>
To: Scott Lawrence <lawrence@agranat.com>
Cc: http-wg@cuckoo.hpl.hp.com
Scott Lawrence wrote:

> [...]
> HS> I seem to recall discussions about Content-Length as a chunked
> HS> footer, and I seem to recall it was considered a bad idea.

Actually, those words were mine.
> 
>   We did agree that Content-Length could be added by a Proxy, for what
>   that is worth; it doesn't seem so different.
> [...]

That's different.  A proxy can collect the entire chunked response and, once
successful, can add a Content-Length header in the message headers (and eliminate
chunking).  If there's a Content-Length as a footer, then we have to decide what
to do if that length disagrees with the entity body length gathered through
chunking.  Jeff Moguls's solution, "consider the response to be broken", is one
choice.  Another possibility is "disregard the (obviously wrong) header".

Dave Kristol
Received on Wednesday, 16 April 1997 07:17:24 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:34 EDT