Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/
Dmessage.py25 import os, mimetypes, time
36 mime_type = mimetypes.guess_type(t[1])[0]
Dsonofmmm.py26 import mimetypes
43 self.output_ext = mimetypes.guess_extension(self.output_mimetype)
Dservice.py29 import mimetypes
49 mimetypes.init(mimetype_files)
/external/nanohttpd/core/src/main/resources/META-INF/nanohttpd/
Ddefault-mimetypes.properties1 #default mime types for nanohttpd, use META-INF/mimetypes.properties for user defined mimetypes
Dmimetypes.properties1 #mime types for nanohttpd, use a file like this for user defined mimetypes
/external/chromium-trace/catapult/dashboard/dashboard/
Drietveld_service.py9 import mimetypes
130 content_type = (mimetypes.guess_type(filename)[0] or
/external/chromium-trace/catapult/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,
Durlparser.py11 import mimetypes
572 type, encoding = mimetypes.guess_type(resource)
Dhttpheaders.py137 import mimetypes
862 mimetype, _ = mimetypes.guess_type(filename)
/external/clang/tools/scan-view/share/
DReporter.py26 import email, mimetypes, smtplib
87 ctype, encoding = mimetypes.guess_type(path)
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py9 import mimetypes
186 content_type = mimetypes.guess_type(file_path)[0]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Ds3put35 import mimetypes
201 mtype = mimetypes.guess_type(keyname)[0] or 'application/octet-stream'
/external/chromium-trace/catapult/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/chromium-trace/catapult/third_party/webtest/webtest/
Dapp.py17 import mimetypes
484 fcontent = mimetypes.guess_type(filename.decode('utf8'))[0]
/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/chromium-trace/catapult/third_party/apiclient/googleapiclient/
Ddiscovery.py43 import mimetypes
702 (media_mime_type, encoding) = mimetypes.guess_type(media_filename)
Dhttp.py36 import mimetypes
428 (mimetype, encoding) = mimetypes.guess_type(filename)
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dtransfer.py10 import mimetypes
564 mime_type, _ = mimetypes.guess_type(path)
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/
Dupload-diffs.py44 import mimetypes
739 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
941 mimetype = mimetypes.guess_type(filename)[0]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dkey.py26 import mimetypes
920 self.content_type = mimetypes.guess_type(self.path)[0]

12