Searched refs:mimetypes (Results 1 – 15 of 15) sorted by relevance
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | static.py | 1 import mimetypes 12 mimetypes._winreg = None # do not load mimetypes from windows registry 13 mimetypes.add_type('text/javascript', '.js') # stdlib default is application/x-javascript 14 mimetypes.add_type('image/x-icon', '.ico') # not among defaults 27 content_type, content_encoding = mimetypes.guess_type(filename)
|
D | request.py | 7 import mimetypes 1646 mime_type = mimetypes.guess_type(filename)[0]
|
/external/lldb/utils/test/ |
D | ras.py | 15 import mimetypes 133 ctype, encoding = mimetypes.guess_type(path)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
D | fileapp.py | 12 import os, time, mimetypes, zipfile, tarfile 187 return mimetypes.guess_type(self.filename) 343 content_type, content_encoding = mimetypes.guess_type(info.filename)
|
D | wsgiwrappers.py | 271 def match_accept(self, mimetypes): argument 274 return desired_matches(mimetypes,
|
D | httpheaders.py | 137 import mimetypes 862 mimetype, _ = mimetypes.guess_type(filename)
|
D | urlparser.py | 11 import mimetypes 572 type, encoding = mimetypes.guess_type(resource)
|
D | fixture.py | 16 import mimetypes 350 fcontent = mimetypes.guess_type(filename)[0]
|
/external/clang/tools/scan-view/ |
D | Reporter.py | 26 import email, mimetypes, smtplib 87 ctype, encoding = mimetypes.guess_type(path)
|
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/ |
D | file-example.txt | 36 >>> import mimetypes 38 ... type, encoding = mimetypes.guess_type(filename)
|
D | differences.txt | 33 ``match_accept(mimetypes)``: 34 This is available through ``req.accept.first_match(mimetypes)``; 36 ``req.accept.best_match(mimetypes)``
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | upload.py | 38 import mimetypes 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream' 715 mimetype = mimetypes.guess_type(filename)[0]
|
/external/google-breakpad/src/testing/scripts/ |
D | upload.py | 38 import mimetypes 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream' 715 mimetype = mimetypes.guess_type(filename)[0]
|
/external/regex-re2/lib/codereview/ |
D | codereview.py | 2662 import mimetypes 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]
|
/external/chromium-trace/trace-viewer/third_party/Paste/docs/ |
D | news.txt | 400 override how mimetypes are guessed.
|