We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
text/javascript
RFC 9239: Updates to ECMAScript Media Types published and it recommends MIME Type for JavaScript be text/javascript
current implementations should use text/javascript as the only JavaScript/ECMAScript media type. --- https://www.rfc-editor.org/rfc/rfc9239#section-6.2.1-3.6
Now h2o sets default content-type for .js files to application/javascript which obsoleted in this spec.
application/javascript
h2o/lib/handler/mimemap/defaults.c.h
Line 49 in 2a80f97
and also .mjs
.mjs
Line 63 in 2a80f97
The text was updated successfully, but these errors were encountered:
Merge pull request #3028 from Jxck/update-js-mimetype
b506ecf
change mime map for .js/.mjs to text/javascript align with RFC9239 solves #3027
No branches or pull requests
RFC 9239: Updates to ECMAScript Media Types published and it recommends MIME Type for JavaScript be
text/javascript
Now h2o sets default content-type for .js files to
application/javascript
which obsoleted in this spec.h2o/lib/handler/mimemap/defaults.c.h
Line 49 in 2a80f97
and also
.mjs
h2o/lib/handler/mimemap/defaults.c.h
Line 63 in 2a80f97
The text was updated successfully, but these errors were encountered: