Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] append "-gzip" to etags processed by gzip_filter_module + not modified support

Andrew Williams
May 29, 2014 10:26PM
Hi,

> On Wed, May 28, 2014 at 04:26:04PM +0930, Andrew Williams wrote:
>
>> this patch modifies the etag header returned by responses processed by
>> the gzip filter, appending "-gzip" to the etag (instead of deleting
>> it). Also, If-None-Match and If-Match requests work against the
>> modified etag.
>> (the gunzip module appends "-gunzip" to the etag).
>
> This approach is wrong, as resources with the same etag are not
> guaranteed to be equal.

thanks for the feedback - only stripping strong etags looks like a
good solution. looking forward to seeing the weak etag code making it
in.
cheers
Andrew

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH] append "-gzip" to etags processed by gzip_filter_module + not modified support

Andrew Williams 881 May 28, 2014 02:58AM

Re: [PATCH] append "-gzip" to etags processed by gzip_filter_module + not modified support

Maxim Dounin 401 May 28, 2014 07:24AM

Re: [PATCH] append "-gzip" to etags processed by gzip_filter_module + not modified support

Andrew Williams 430 May 29, 2014 10:26PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 153
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready