Welcome! Log In Create A New Profile

Advanced

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida
July 29, 2011 04:24PM
On 29 Jul 2011 20h44 WEST, nginx-forum@nginx.us wrote:

>> If you have their IP range you can try using the Geo module
>
> Unfortunately we get millions of page views per day from all over
> the world so I'm looking for a solution not just for this one
> client, but all such cases. Good idea though.
>
> I do get reports now and then, where someone does report the site
> without css, but I have always dismissed it as user error. Maybe
> this problem is more prevalent and unreported .
>
> Some more info on this... so if you have a client that can actually
> handle gzip, but requests no gzip, but receives gzip due to this
> bug, maybe it can actually render the data correctly, since it
> actually does have the capabilities. This may mean that if you are
> using nginx directly to talk to such clients this bug may not be as
> visible.
>
> In this particular CDN, they follow the rfc and actually error if
> the origin sends a compressed version instead of plain, and pass
> that error to the client. So using the CDN, makes this problem more
> visible.

You could try using the Map http://wiki.nginx.org/HttpMapModule module
like this:

map $http_accept_encoding $gzip_state {
default on;
~gzip;q=0 off;
}

--- appa

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

Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Radek Burkat July 29, 2011 02:04PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 29, 2011 02:08PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat July 29, 2011 03:11PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat July 29, 2011 03:44PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida July 29, 2011 03:30PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 31, 2011 01:40PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida July 29, 2011 04:24PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 31, 2011 01:42PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat August 03, 2011 02:17PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev August 04, 2011 11:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
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