Description
Documentation
The current (unregistered) IANA Media Type types for Python (text\/x-python.*
):
-
cpython/Misc/NEWS.d/3.10.0a1.rst
Line 3030 in 49d7236
-
-
Lines 540 to 541 in 49d7236
...appear to be incorrect, per current guidance, for RFC 6838 states that the x-
prefix has been deprecated in favour of the x.
tree: 4
The unregistered tree includes media types intended exclusively for use in private environments and only with the active agreement of the parties exchanging them. It uses the x. tree prefix. Examples are application/x.foo, video/x.bar. Media types in this tree cannot be registered.
This type was originally defined in RFC 1590 (published in September 1993) using the x- or X- prefix. RFC 2048 (published in November 1996) introduced the x. prefix, but discouraged use of the unregistered tree, as new personal and vendor trees with relaxed registration requirements are now available. The current RFC 6838 (published in January 2013) maintains the same recommendation, but subtypes prefixed with x- or X- are no longer considered to be members of this tree.
Media types that have been widely deployed (with a subtype prefixed with x- or X-) without being registered, should be, if possible, re-registered with a proper prefixed subtype.
Footnotes
-
49d72365cd2d6c09a154a9a061efef4130e2c758/Misc/NEWS.d/3.10.0a1.rst?plain=1#L3030C1-L3030C44
↩ -
49d72365cd2d6c09a154a9a061efef4130e2c758/Tools/msi/launcher/launcher_reg.wxs#L9C32-L9C67
↩ -
49d72365cd2d6c09a154a9a061efef4130e2c758/Lib/mimetypes.py#L540C9-L541C48
↩ -
en.wikipedia.org/w/index.php?title=Media_type&oldid=1292890008#Unregistered_tree
5 ↩