Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update custom-types.json #346

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

pedro-php
Copy link
Contributor

Summary:
This PR adds support for compressed types that, despite being deprecated by iana, are still being used by windows.

Added MIME Types:

Mime: application/x-zip-compressed
Extension: zip
Notes: Windows use this mime-type for Zip files instead of application/zip.
Sources: (https://bugs.python.org/issue41738)
(https://developer.mozilla.org/en-US/docs/Web/HTTP/MIME_types/Common_types)

application/x-compressed
Extension: rar
Notes: Windows 11 use this mime-type for RAR files instead of application/x-rar-compressed or application/vnd.rar

Copy link
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, I am not sure how I feel about these. I don't really see anything wrong with adding them if they are used in the wild, but if they are deprecated then I am also not sure why adding them now add's value.

I will add an approval and see if we can get some more feedback on these. Feel free to post more details about the impact of not including these so we can decide if we wan to merge this.

@wesleytodd
Copy link
Member

Ok, got a few more approvals. Merging.

@wesleytodd wesleytodd merged commit 3145b8f into jshttp:master Jan 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants