Re: mime_magic_module incorrectly sets Content-Encoding of compressed files

Gordon Messmer <[email protected]> Thu, 5 Mar 2026 00:47:46 -0800
Newsgroups gmane.comp.apache.user
Message-ID <[email protected]>
I would suggest simply dropping the uncompress function:

https://github.com/gordonmessmer/httpd/pull/1

RFC 9110 is clear and specific "If the media type includes an inherent 
encoding, such as a data format that is always compressed, then that 
encoding would not be restated in Content-Encoding even if it happens to 
be the same algorithm as one of the content codings"