[Patches] [ python-Patches-438790 ] additional mappings for mimetypes.py

noreply@sourceforge.net noreply@sourceforge.net
Thu, 09 Aug 2001 18:22:01 -0700


Patches item #438790, was opened at 2001-07-05 08:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=438790&group_id=5470

Category: library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: additional mappings for mimetypes.py

Initial Comment:
added some additional mapping for mimetypes.py.

Andreas

----------------------------------------------------------------------

>Comment By: Andreas Jung (ajung)
Date: 2001-08-09 18:22

Message:
Logged In: YES 
user_id=11084

the mimetypes for .xsl and xul are also in common usage. 

Andreas

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-08-09 14:10

Message:
Logged In: YES 
user_id=21627

I wasn't complaining about the x- types 
(application/x-javascript); they are fine. I was 
complaining about using unregistered types without an x- 
prefix, specifically

+     '.xsl': 'text/xsl',
+     '.xul': 'text/xul'

These are not valid MIME types, unless I'm missing 
something.

More generally, I was requesting that the IANA registry is 
analysed and this patch is brought in sync with it.


----------------------------------------------------------------------

Comment By: Andreas Jung (ajung)
Date: 2001-08-09 11:14

Message:
Logged In: YES 
user_id=11084

The x-* mimetypes are common used although they might not
be officially assigned. I would not remove these from the list.
This patch also relates to bug #439710 for better support of
user-defined mime-types.

Andreas

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-09 10:54

Message:
Logged In: YES 
user_id=6380

Still waiting for feedback...

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-07-18 23:42

Message:
Logged In: YES 
user_id=21627

I believe some of these types are not "official", in the 
sense that they are supported by an RFC; types that are 
not defined in an RFC MUST use the x- prefix. E.g. in what 
RFC is "text/xsl" or "text/xul" defined?

IOW, only types listed in 
http://www.isi.edu/in-notes/iana/assignments/media-types/
should be supported without x-prefix.

Could you please review the entire list of known types 
with this respect, and update the patch accordingly?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=438790&group_id=5470