mimesniff icon indicating copy to clipboard operation
mimesniff copied to clipboard

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

Open coreydaley opened this issue 6 years ago • 4 comments

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

coreydaley avatar Jun 09 '19 20:06 coreydaley

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 avatar Jun 10 '19 00:06 GPHemsley

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

coreydaley avatar Jun 10 '19 00:06 coreydaley

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

GPHemsley avatar Jun 10 '19 00:06 GPHemsley

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

coreydaley avatar Jun 10 '19 00:06 coreydaley