I'd appreciate a change of the default! Every tgz is application/gzip, but not every application/gzip is a tgz. Also, it seems to me that the parsers should be able to decompress the first few bytes and check for the tar magic bytes at offset 257, if it were important to differentiate between a gz and tgz on specific files (if this is not already done).

Is it possible to change this behavior with a custom-mimetypes file? I tried redefining application/gzip with a higher magic priority, removing the tgz entry, but I still saw .tgz when asking the mime repository.

Adam

On 2/28/15 8:20 PM, Nick Burch wrote:
I wonder if it would be worth changing the default? I agree, .tgz is a gzip extension, but probably not the most common / universal

Reply via email to