whatwg / mimesniff

MIME Sniffing Standard

Home Page:https://mimesniff.spec.whatwg.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add application/x-bzip2 as a ZIP-based MIME type

coreydaley opened this issue · comments

Would like to add application/x-bzip2 as a ZIP-based MIME type here: https://mimesniff.spec.whatwg.org/#zip-based-mime-type

I think you are actually asking for bzip2 to be added to the list of archive type patterns:
https://mimesniff.spec.whatwg.org/#matching-an-archive-type-pattern

bzip2 is not a ZIP-based MIME type.

@GPHemsley It is also not an archive, maybe we need another classification for things such as gzip and bzip?

I think perhaps the term "archive MIME type" is simply named wrong.

zip happens to do archiving and compression, whereas tar does archiving, and gzip/bzip do compression