summaryrefslogtreecommitdiff
path: root/Lib/mimetypes.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor so that it is easier to work with alternate MIME types databases,Fred Drake2001-08-031-67/+138
| | | | | | and programmatically extend the database in different ways. This closes the SF bug (feature request) #439710.
* Add .pyo as an extension, fixes bug #416462. Also restore alphabetic order.Martin v. Löwis2001-06-051-1/+2
|
* String method conversion. Added a trivial main to test it with.Eric S. Raymond2001-02-091-7/+10
|
* added a few more __all__ listsSkip Montanaro2001-01-251-0/+2
| | | | test___all__.py: fail silently in check_all if the module can't be imported
* Untabify to pass the -tt test.Fred Drake2000-02-101-20/+20
|
* Map .js to application/x-javascript.Fred Drake1999-05-201-0/+1
|
* Added .rdf and .xsl as application/xml types. (.rdf is for theFred Drake1999-03-111-0/+2
| | | | | Resource Description Framework, a metadata encoding, and .xsl is for the Extensible Stylesheet Language.)
* Make mimetypes.guess_type understand data URLs. (Sjoerd Mullender)Guido van Rossum1998-10-121-0/+21
|
* knownfiles: Add the default installation dirs for ApacheFred Drake1998-05-211-0/+2
| | | | versions <= 1.2, >= 1.3.
* guess_extension(): Revise documentation string to be more clear. If notFred Drake1998-05-191-3/+6
| | | | inited, call init().
* guess_extension(): New function. Performs a reverse mapping from MIME typeFred Drake1998-05-181-1/+18
| | | | to filename extension.
* Fixed typo in docstring: suffixes_map --> suffix_map.Fred Drake1998-05-181-1/+1
|
* Add file extension .xml, mapping it to text/xml.Guido van Rossum1998-05-181-0/+1
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-25/+25
|
* Handy utility to guess MIME type from extension.Guido van Rossum1997-09-301-0/+190