Searched refs:guess_type (Results 1 – 13 of 13) sorted by relevance
179 content_type, content_encoding = self.guess_type()186 def guess_type(self): member in FileApp187 return mimetypes.guess_type(self.filename)343 content_type, content_encoding = mimetypes.guess_type(info.filename)
862 mimetype, _ = mimetypes.guess_type(filename)
572 type, encoding = mimetypes.guess_type(resource)
350 fcontent = mimetypes.guess_type(filename)[0]
27 content_type, content_encoding = mimetypes.guess_type(filename)
1646 mime_type = mimetypes.guess_type(filename)[0]
133 ctype, encoding = mimetypes.guess_type(path)
87 ctype, encoding = mimetypes.guess_type(path)
707 ctype = self.guess_type(path)
38 ... type, encoding = mimetypes.guess_type(filename)
535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'715 mimetype = mimetypes.guess_type(filename)[0]
3106 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'3319 mimetype = mimetypes.guess_type(filename)[0]3326 mimetype = mimetypes.guess_type(filename)[0]