[issue15199] Default mimetype for javascript should be application/javascript

2012-08-20 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 20985f52b65e by Petri Lehtinen in branch '2.7':
#15199: Fix JavaScript's default MIME type to application/javascript
http://hg.python.org/cpython/rev/20985f52b65e

New changeset b64947b6f947 by Petri Lehtinen in branch '3.2':
#15199: Fix JavaScript's default MIME type to application/javascript
http://hg.python.org/cpython/rev/b64947b6f947

New changeset d4d5cfef5323 by Petri Lehtinen in branch 'default':
#15199: Fix JavaScript's default MIME type to application/javascript
http://hg.python.org/cpython/rev/d4d5cfef5323

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15199] Default mimetype for javascript should be application/javascript

2012-08-20 Thread Petri Lehtinen

Petri Lehtinen added the comment:

Fixed, thanks for the patch.

--
nosy: +petri.lehtinen
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15199] Default mimetype for javascript should be application/javascript

2012-06-27 Thread Bohuslav Slavek Kabrda

New submission from Bohuslav Slavek Kabrda bkab...@redhat.com:

Hi,
when using Python's Lib/mimetypes.py and none of the default files is present, 
there are some defaults used. For javascript, the default is 
application/x-javascript. However, according to IANA specification [1], this is 
not a registered type, and application/javascript should be used (see section 
7).
I'm attaching a simple patch that fixes this.


[1] http://www.rfc-editor.org/rfc/rfc4329.txt

--
components: Library (Lib)
files: python-correct-default-js-mimetype.patch
keywords: patch
messages: 164126
nosy: bkabrda
priority: normal
severity: normal
status: open
title: Default mimetype for javascript should be application/javascript
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3
Added file: 
http://bugs.python.org/file26174/python-correct-default-js-mimetype.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15199] Default mimetype for javascript should be application/javascript

2012-06-27 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
components: +email
nosy: +barry, r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com