gzip does not work if Content-Type contain semicolon?

Maxim Dounin mdounin at mdounin.ru
Wed Oct 2 15:38:41 UTC 2013


Hello!

On Wed, Oct 02, 2013 at 05:27:15PM +0200, Piotr Karbowski wrote:

> Hi,
> 
> On 10/02/2013 05:13 PM, Maxim Dounin wrote:
> >Do you have gzip_types properly set?
> >
> >http://nginx.org/r/gzip_types
> >
> 
> I believe I do. I tried quite a lot of combinations, also, text/html
> is default on and cannot be removed if I understand it corrently so
> it should work just as-is. I tried adding even full string like
> "text/html;charset=UTF-8" still no luck.

Could you please show the configuration you use, and 
an example request which shows the response isn't gzipped?

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list