No gzip compression for HTTP status code 202
hpuac
nginx-forum at forum.nginx.org
Tue Dec 4 12:09:48 UTC 2018
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, but is there
any particular reason to not compress 202?
Status codes like 201 and 202 should like 200 be common and safe response
codes that could be compressed.
I had a quick look and for example undertow is also compressing 202
responses.
What do you think about making the status codes that will get compressed
configurable?
Best regards,
Hans
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282249,282252#msg-282252
More information about the nginx
mailing list