Created attachment 35174 [details] Test suite, server files, shell script with POST requests I have configured my apache installation to accept a gzipped body on http requests adding 'SetInputFilter DEFLATE' in the Apache config file (on a global scope). It works as expected except in the case that a matching RewriteRule directive is found. In that case the body is not decompressed and the 'Content-Encoding: gzip' is still present a hint that the deflate module does not take place I suppose. I have prepared a test suite (attached) to reproduce the problem. It requires mod_deflate and mod_filter to be already enabled. It also requires PHP to see the dumped variables. The attachment includes a readme file with more details.
This is not a mod_rewrite issue. This is caused by mod_deflate itself. Solved by this patch (https://bz.apache.org/bugzilla/show_bug.cgi?id=54255#c3) Linked to ticket #54255