Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
a5a44aba3f0e21753314ca6cfd766083a22b387f
/
Lib
/
mimetypes.py
32608c1
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls
by Steve Dower
· 10 years ago
4becf85
don't allow unicode into type_map on Windows (closes #21652)
by Benjamin Peterson
· 10 years ago
3c5816f
Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik
by Tim Golden
· 10 years ago
1adbacf
Issue #20331: Fixed possible FD leaks in various modules:
by Serhiy Storchaka
· 11 years ago
1793485
Issue #15207: Fix mimetypes to read from correct area in Windows registry (Original patch by Dave Chambers)
by Tim Golden
· 11 years ago
6aca765
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
by Serhiy Storchaka
· 11 years ago
4efdc09
#15199: Fix JavaScript's default MIME type to application/javascript
by Petri Lehtinen
· 12 years ago
4922a46
#5301: re-add image/vnd.microsoft.icon per discussion
by R David Murray
· 12 years ago
ce7554f
Revert commit that was not a bugfix (#5301).
by Éric Araujo
· 13 years ago
a75039a
#5301: add image/vnd.microsoft.icon (.ico) MIME type
by Sandro Tosi
· 13 years ago
4cc5403
Merged revisions 85774 via svnmerge from
by Brian Curtin
· 14 years ago
f7c2445
Merged revisions 85497 via svnmerge from
by Antoine Pitrou
· 14 years ago
84fedf7
No need to assign the results of expressions used only for side effects.
by Georg Brandl
· 15 years ago
d5b34d4
Issue #4969: The mimetypes module now reads the MIME database from
by Antoine Pitrou
· 15 years ago
f2651e1
Issue #5853: calling a function of the mimetypes module from several threads
by Antoine Pitrou
· 15 years ago
ad58b7c
fix a silly problem of caching gone wrong #5401
by Benjamin Peterson
· 16 years ago
dff51b2
Patch 1353 by Jacob Winther. Add mp4 mapping to mimetypes.py.
by Guido van Rossum
· 17 years ago
0c1f6fc
Add bz2 to content encodings.
by Georg Brandl
· 17 years ago
0540be9
Bug #1202018: add some common mime.types locations.
by Georg Brandl
· 18 years ago
7d6b895
Whitespace normalization.
by Tim Peters
· 18 years ago
04b9403
Fix for failure of test_urllib2 breaking test_mimetypes (SF bug 1464978)
by Anthony Baxter
· 18 years ago
7ce7515
add two more extensions:
by Fred Drake
· 20 years ago
893020b
Remove self from the arguments for the function add_type().
by Walter Dörwald
· 21 years ago
f0dfc7a
Fix a bunch of typos in documentation, docstrings and comments.
by Walter Dörwald
· 21 years ago
9caa0d1
guess_all_extensions(): Return the empty list instead of None when
by Barry Warsaw
· 21 years ago
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
· 26 years ago
ac8a9f3
Handy utility to guess MIME type from extension.
by Guido van Rossum
· 27 years ago