No gzip compression for HTTP status code 202

hpuac nginx-forum at
Tue Dec 4 12:09:48 UTC 2018



Thank you for the quick answer!
Would it make sense to add that information to the documentation?

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
What do you think about making the status codes that will get compressed

Best regards, 

Posted at Nginx Forum:,282249,282252#msg-282252

More information about the nginx mailing list