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

Don't use x-* MIME types when possible #588

Open
Abion47 opened this issue Sep 20, 2024 · 0 comments
Open

Don't use x-* MIME types when possible #588

Abion47 opened this issue Sep 20, 2024 · 0 comments

Comments

@Abion47
Copy link

Abion47 commented Sep 20, 2024

MIME types that have the x-* prefix are by definition non-standard extension types. Many formats that used to use these types no longer do as they have become official MIME types recognized by the IANA, but the mime package is still using the x-* mime type on many of them. This can cause problems as many APIs will support the standard form but not the non-standard extension form, so they should be updated where appropriate.

Here are some examples:

audio/x-aiff => audio/aiff
audio/x-wav => audio/wav (or) audio/vnd.wav
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

No branches or pull requests

1 participant