Re: HTTP 'HASH' Method

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 UTC