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

mimetypes.py uses deprecated "application/javascript" #97646

Open
ppena-LiveData opened this issue Sep 29, 2022 · 0 comments
Open

mimetypes.py uses deprecated "application/javascript" #97646

ppena-LiveData opened this issue Sep 29, 2022 · 0 comments

Comments

@ppena-LiveData
Copy link

ppena-LiveData commented Sep 29, 2022

The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mimetypes.py) both say that type/subtype name is obsolete and should be replaced with "text/javascript".

@ppena-LiveData ppena-LiveData changed the title mimetypes.py uses deprecated mimetypes.py uses deprecated "application/javascript" Sep 29, 2022
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