Using Content-MD5 header
manlio_perillo at libero.it
Fri Jul 25 00:27:12 MSD 2008
Matthijs Langenberg ha scritto:
> Igor Sysoev wrote:
>> On Mon, Jul 21, 2008 at 01:37:56PM +0200, Matthijs Langenberg wrote:
>>> I would like to use the Content-MD5 header from a HTTP response, does
>>> Nginx provide a way to add the 'Content-MD5' header to the response for
>>> a static file request?
>> No, nginx does not support Content-MD5 header.
>> Calculating MD5 means that nginx must read whole file before sending it
>> to client.
>> What purpose of this header ?
> I'm writing an app that handles file uploads (assets storage) from other
> machines in the network, mostly done by batch processing. I'm using a
> HEAD request to check if a file already is uploaded, but it's hard to
> monitor which files already have been edited and need to be uploaded
Can't you use the Last-Modified header?
More information about the nginx