Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
50c61d5a6c2c551b31270d78b9e53ccef3fdf7a8
/
Lib
/
mimetypes.py
5e1222b
Add Shockwave Flash.
by Guido van Rossum
· 22 years ago
8fa8972
Remove a list comprehension, because a loop over the list
by Walter Dörwald
· 22 years ago
51cc72c
Pass the strict argument from read() on to readfp(), so the
by Walter Dörwald
· 22 years ago
bb51ed3
Fix read_mime_types() so that it returns a dict as documented.
by Walter Dörwald
· 22 years ago
5ccaf8f
Apply diff3.txt (plus additional documentation)
by Walter Dörwald
· 22 years ago
54f0222
SF 563203. Replaced 'has_key()' with 'in'.
by Raymond Hettinger
· 22 years ago
698da02
Separate the script portion from the library portion; everything that
by Fred Drake
· 23 years ago
107771a
Applying proposed patch for bug #474583, optional support for
by Barry Warsaw
· 23 years ago
a3689fe
Patch #438790: Add additional mappings.
by Martin v. Löwis
· 23 years ago
6cb0d4c
Add some fairly important file extensions: bmp css doc mid midi mp2 mp3 xls.
by Ka-Ping Yee
· 23 years ago
c81a069
Another egregious error that copied the encodings info over the suffix
by Fred Drake
· 23 years ago
c019ecb
Bad bug: the MimeTypes.readfp() was supposed to take a file object as a
by Fred Drake
· 23 years ago
eeee4ec
Refactor so that it is easier to work with alternate MIME types databases,
by Fred Drake
· 23 years ago
2750bcc
Add .pyo as an extension, fixes bug #416462. Also restore alphabetic order.
by Martin v. Löwis
· 23 years ago
51cc3bc
String method conversion. Added a trivial main to test it with.
by Eric S. Raymond
· 24 years ago
03d9014
added a few more __all__ lists
by Skip Montanaro
· 24 years ago
13a2c27
Untabify to pass the -tt test.
by Fred Drake
· 25 years ago
c40c547
Map .js to application/x-javascript.
by Fred Drake
· 25 years ago
cbd9870
Added .rdf and .xsl as application/xml types. (.rdf is for the
by Fred Drake
· 26 years ago
1c5fb1c
Make mimetypes.guess_type understand data URLs. (Sjoerd Mullender)
by Guido van Rossum
· 26 years ago
c913206
knownfiles: Add the default installation dirs for Apache
by Fred Drake
· 26 years ago
4941341
guess_extension(): Revise documentation string to be more clear. If not
by Fred Drake
· 26 years ago
5109ffd
guess_extension(): New function. Performs a reverse mapping from MIME type
by Fred Drake
· 26 years ago
3130b7a
Fixed typo in docstring: suffixes_map --> suffix_map.
by Fred Drake
· 26 years ago
7beaad4
Add file extension .xml, mapping it to text/xml.
by Guido van Rossum
· 26 years ago
45e2fbc
Mass check-in after untabifying all files that need it.
by Guido van Rossum
· 27 years ago
ac8a9f3
Handy utility to guess MIME type from extension.
by Guido van Rossum
· 27 years ago