Searched refs:MimeTypes (Results 1 – 4 of 4) sorted by relevance
168 MimeTypes Objects171 The :class:`MimeTypes` class may be useful for applications which may want more176 .. class:: MimeTypes(filenames=(), strict=True)189 .. attribute:: MimeTypes.suffix_map198 .. attribute:: MimeTypes.encodings_map204 .. attribute:: MimeTypes.types_map212 .. attribute:: MimeTypes.types_map_inv220 .. 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 …]
56 class MimeTypes: class351 db = MimeTypes()373 db = MimeTypes()
18 self.db = mimetypes.MimeTypes()88 db = mimetypes.MimeTypes()
1038 databases by the addition of a :class:`MimeTypes` class, which takes a list of