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

RFC 9239 #242

Merged
merged 2 commits into from Mar 1, 2024
Merged

RFC 9239 #242

merged 2 commits into from Mar 1, 2024

Conversation

sakura1977
Copy link
Contributor

Two changes according to RFC 9239

  • "text/javascript" as mime content type for JS-files, "application/javascript" is defined as obsolete
  • MJS-filetype to be handled like JS-filetype

https://datatracker.ietf.org/doc/html/rfc9239
https://www.rfc-editor.org/rfc/rfc9239

RFC 9239 defined "text/javascript" as mime content type for JS-files, "application/javascript" is defined as obsolete.

https://datatracker.ietf.org/doc/html/rfc9239
https://www.rfc-editor.org/rfc/rfc9239
RFC 9239 defines .mjs files to be handled like .js files. JavaScript modules have become a standard in web applications and should be supported.

https://datatracker.ietf.org/doc/html/rfc9239
https://www.rfc-editor.org/rfc/rfc9239
@synopse synopse merged commit c53dbd9 into synopse:master Mar 1, 2024
@synopse
Copy link
Owner

synopse commented Mar 1, 2024

Thanks for the input!

synopse pushed a commit that referenced this pull request Mar 1, 2024
@synopse
Copy link
Owner

synopse commented Mar 1, 2024

Needed some minor fixes.

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.

None yet

2 participants