Bug 35551 - mime.types entry for .js should map to application/javascript
Summary: mime.types entry for .js should map to application/javascript
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Runtime Config (show other bugs)
Version: 2.1-HEAD
Hardware: Other other
: P1 normal with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 20:27 UTC by Bj
Modified: 2007-08-30 11:12 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bj 2005-06-29 20:27:01 UTC
The current mime.types file has an entry

  application/x-javascript js

Use of such media types is discouraged per RFC 2048, section 2.1.4; the IESG-
approved media type application/javascript should be used instead (see 
https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=7686 
for details).
Comment 1 Sierk Bornemann 2006-06-20 14:28:05 UTC
RFC 4329 "Scripting Media Types" now is published since April 2006.
See ftp://ftp.rfc-editor.org/in-notes/rfc4329.txt for details.

Text Media-Types
http://www.iana.org/assignments/media-types/text/

Application Media-Types
http://www.iana.org/assignments/media-types/application/
Comment 2 Sierk Bornemann 2006-09-28 13:04:23 UTC
See also:
Bug 40299 "ECMAScript and JavaScript media types in mime.types file" with patch:
http://issues.apache.org/bugzilla/show_bug.cgi?id=40299
Comment 3 Sierk Bornemann 2007-02-12 18:18:14 UTC
When does this bug get fixed in Apache?
All major browser vendors (except Microsoft) did do their homework and did
adjust the new MIMEType for JavaScript/ECMAScript. 
Comment 4 Roy T. Fielding 2007-08-30 11:12:13 UTC
Fixed in all versions.