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

Issue with "MIME types (IANA media types)": (text/javascript vs. application/javascript) #4077

Closed
pubmikeb opened this issue Apr 13, 2021 · 3 comments
Labels
Content:HTTP HTTP docs

Comments

@pubmikeb
Copy link

pubmikeb commented Apr 13, 2021

MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types

What information was incorrect, unhelpful, or incomplete?

A MIME-type for JS files is noted as text/javascript, while it is obsolete and should be updated to application/javascript.
According to RFC 4329 §7.1, text/javascript is obsolete.

Specific section or headline?

text/javascript

What did you expect to see?

text/javascript should be marked as obsolete

P.S. Perhaps there are other pages on MDN Documentation where text/javascript is noted as a standard, not obsolete MIME-type for JavaScript files instead of application/javascript.

MDN Content page report details
@sideshowbarker sideshowbarker self-assigned this Apr 13, 2021
@pubmikeb pubmikeb changed the title Issue with "MIME types (IANA media types)": (short summary here please) Issue with "MIME types (IANA media types)": (text/javascript vs. application/javascript) Apr 13, 2021
@sideshowbarker
Copy link
Collaborator

If fact text/javascript is what’s currently recommended, per the following sources:

@pubmikeb
Copy link
Author

pubmikeb commented Apr 13, 2021

If fact text/javascript is what’s currently recommended

Well, you're right:

This document obsoletes RFC4329, "Scripting Media Types".

It looks like RFC 4329 is obsolete.

@sideshowbarker
Copy link
Collaborator

It looks like RFC 4329 is obsoleted.

Yeah — in practice it has a been obsoleted already for a long time now, but in the world of getting RFCs formally obsoleted, the wheels turn very slowly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:HTTP HTTP docs
Projects
None yet
Development

No branches or pull requests

2 participants