Home
last modified time | relevance | path

Searched refs:mimetypes (Results 1 – 15 of 15) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dstatic.py1 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)
Drequest.py7 import mimetypes
1646 mime_type = mimetypes.guess_type(filename)[0]
/external/lldb/utils/test/
Dras.py15 import mimetypes
133 ctype, encoding = mimetypes.guess_type(path)
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dfileapp.py12 import os, time, mimetypes, zipfile, tarfile
187 return mimetypes.guess_type(self.filename)
343 content_type, content_encoding = mimetypes.guess_type(info.filename)
Dwsgiwrappers.py271 def match_accept(self, mimetypes): argument
274 return desired_matches(mimetypes,
Dhttpheaders.py137 import mimetypes
862 mimetype, _ = mimetypes.guess_type(filename)
Durlparser.py11 import mimetypes
572 type, encoding = mimetypes.guess_type(resource)
Dfixture.py16 import mimetypes
350 fcontent = mimetypes.guess_type(filename)[0]
/external/clang/tools/scan-view/
DReporter.py26 import email, mimetypes, smtplib
87 ctype, encoding = mimetypes.guess_type(path)
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dfile-example.txt36 >>> import mimetypes
38 ... type, encoding = mimetypes.guess_type(filename)
Ddifferences.txt33 ``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/
Dupload.py38 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/
Dupload.py38 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/
Dcodereview.py2662 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/
Dnews.txt400 override how mimetypes are guessed.