changeset: 78682:20985f52b65e branch: 2.7 user: Petri Lehtinen date: Mon Aug 20 21:05:56 2012 +0300 files: Lib/mimetypes.py Misc/ACKS Misc/NEWS description: #15199: Fix JavaScript's default MIME type to application/javascript diff -r 857c9e1fdd1e -r 20985f52b65e Lib/mimetypes.py --- a/Lib/mimetypes.py Mon Aug 20 14:17:22 2012 -0400 +++ b/Lib/mimetypes.py Mon Aug 20 21:05:56 2012 +0300 @@ -437,7 +437,7 @@ '.jpe' : 'image/jpeg', '.jpeg' : 'image/jpeg', '.jpg' : 'image/jpeg', - '.js' : 'application/x-javascript', + '.js' : 'application/javascript', '.ksh' : 'text/plain', '.latex' : 'application/x-latex', '.m1v' : 'video/mpeg', diff -r 857c9e1fdd1e -r 20985f52b65e Misc/ACKS --- a/Misc/ACKS Mon Aug 20 14:17:22 2012 -0400 +++ b/Misc/ACKS Mon Aug 20 21:05:56 2012 +0300 @@ -436,6 +436,7 @@ Sijin Joseph Andreas Jung Tattoo Mabonzo K. +Bohuslav Kabrda Bob Kahn Kurt B. Kaiser Tamito Kajiyama diff -r 857c9e1fdd1e -r 20985f52b65e Misc/NEWS --- a/Misc/NEWS Mon Aug 20 14:17:22 2012 -0400 +++ b/Misc/NEWS Mon Aug 20 21:05:56 2012 +0300 @@ -95,6 +95,9 @@ Library ------- +- Issue #15199: Fix JavaScript's default MIME type to application/javascript. + Patch by Bohuslav Kabrda. + - Issue #15477: In cmath and math modules, add workaround for platforms whose system-supplied log1p function doesn't respect signs of zeros.

AltStyle によって変換されたページ (->オリジナル) /