Skip to content

bpo-34875: change .js mimetype to text/javascript - #9678

Closed
MylesBorins wants to merge 3 commits into
python:masterfrom
MylesBorins:fix-issue-34875
Closed

MylesBorins wants to merge 3 commits into
python:masterfrom
MylesBorins:fix-issue-34875

Conversation

@MylesBorins

@MylesBorins MylesBorins commented Oct 2, 2018 •

Copy link
Copy Markdown

Follow up to #3908

The official recommended mime type of .js in the whatwg HTML spec is "text/javascript" as opposed to "application/javascript" which is what is currently shipping

https://bugs.python.org/issue34875

@@ -0,0 +1,3 @@
Change mimetype for file extension ``.js`` to ``test/javascript``. This is currently the recommended mimetype in the whatwg HTML spec

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/test/text/

@asvetlov

asvetlov commented Oct 3, 2018

Copy link
Copy Markdown
Contributor

The reason for rejecting is described in the bug tracker: https://bugs.python.org/issue34875

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants