W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2007

Re: HTTP 'HASH' Method

From: Jamie Lokier <jamie@shareable.org>
Date: Sun, 27 May 2007 17:44:17 +0100
To: Adrien de Croy <adrien@qbik.com>
Cc: chown <elfius@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20070527164417.GA18216@mail.shareable.org>

Adrien de Croy wrote:
> Also, it's impossible for servers to calculate the MD5 in advance with 
> dynamically generated content.

I'm not suggesting MD5 is useful.  But if it was:

Generally dynamic content does not have the size in advance either, so
chunked encoding may be used.  So, any calculated hash can be given in
a trailer instead of the headers at the start of the request, in the
final zero-length chunk.

I think even Etag can be given there (if it also needed to be
calculated as the content was produced), but somehow doubt any caches
would use it.

-- Jamie
Received on Sunday, 27 May 2007 18:19:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:09 GMT