Home
last modified time | relevance | path

Searched refs:MimeTypes (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Doc/library/
Dmimetypes.rst168 MimeTypes Objects
171 The :class:`MimeTypes` class may be useful for applications which may want more
176 .. class:: MimeTypes(filenames=(), strict=True)
189 .. attribute:: MimeTypes.suffix_map
198 .. attribute:: MimeTypes.encodings_map
204 .. attribute:: MimeTypes.types_map
212 .. attribute:: MimeTypes.types_map_inv
220 .. method:: MimeTypes.guess_extension(type, strict=True)
226 .. method:: MimeTypes.guess_type(url, strict=True)
232 .. method:: MimeTypes.guess_all_extensions(type, strict=True)
[all …]
/external/python/cpython2/Lib/
Dmimetypes.py56 class MimeTypes: class
351 db = MimeTypes()
373 db = MimeTypes()
/external/python/cpython2/Lib/test/
Dtest_mimetypes.py18 self.db = mimetypes.MimeTypes()
88 db = mimetypes.MimeTypes()
/external/python/cpython2/Doc/whatsnew/
D2.2.rst1038 databases by the addition of a :class:`MimeTypes` class, which takes a list of