No gzip compression for HTTP status code 202

2018-12-04 Thread hpuac
Hey nginx team, I noticed that the ngx_http_gzip_module is not compressing the response body if the HTTP response status code is 202 (Accepted). After having a look at the code, it looks like the filter is only active if the status code is 200, 403 or 404. ( https://trac.nginx.org/nginx/browser/ng

Re: No gzip compression for HTTP status code 202

2018-12-04 Thread hpuac
Hey! > http://mailman.nginx.org/pipermail/nginx/2012-September/035338.html Thank you for the quick answer! Would it make sense to add that information to the documentation? https://nginx.org/en/docs/http/ngx_http_gzip_module.html You named some examples why not to compress 206, 304, 400, 500, bu