Searched refs:mimetypes (Results 1 – 25 of 29) sorted by relevance
12
/external/chromium-trace/catapult/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/ |
D | message.py | 25 import os, mimetypes, time 36 mime_type = mimetypes.guess_type(t[1])[0]
|
D | sonofmmm.py | 26 import mimetypes 43 self.output_ext = mimetypes.guess_extension(self.output_mimetype)
|
D | service.py | 29 import mimetypes 49 mimetypes.init(mimetype_files)
|
/external/nanohttpd/core/src/main/resources/META-INF/nanohttpd/ |
D | default-mimetypes.properties | 1 #default mime types for nanohttpd, use META-INF/mimetypes.properties for user defined mimetypes
|
D | mimetypes.properties | 1 #mime types for nanohttpd, use a file like this for user defined mimetypes
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | rietveld_service.py | 9 import mimetypes 130 content_type = (mimetypes.guess_type(filename)[0] or
|
/external/chromium-trace/catapult/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 | urlparser.py | 11 import mimetypes 572 type, encoding = mimetypes.guess_type(resource)
|
D | httpheaders.py | 137 import mimetypes 862 mimetype, _ = mimetypes.guess_type(filename)
|
/external/clang/tools/scan-view/share/ |
D | Reporter.py | 26 import email, mimetypes, smtplib 87 ctype, encoding = mimetypes.guess_type(path)
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
D | memory_cache_http_server.py | 9 import mimetypes 186 content_type = mimetypes.guess_type(file_path)[0]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
D | s3put | 35 import mimetypes 201 mtype = mimetypes.guess_type(keyname)[0] or 'application/octet-stream'
|
/external/chromium-trace/catapult/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/chromium-trace/catapult/third_party/webtest/webtest/ |
D | app.py | 17 import mimetypes 484 fcontent = mimetypes.guess_type(filename.decode('utf8'))[0]
|
/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/chromium-trace/catapult/third_party/apiclient/googleapiclient/ |
D | discovery.py | 43 import mimetypes 702 (media_mime_type, encoding) = mimetypes.guess_type(media_filename)
|
D | http.py | 36 import mimetypes 428 (mimetype, encoding) = mimetypes.guess_type(filename)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | transfer.py | 10 import mimetypes 564 mime_type, _ = mimetypes.guess_type(path)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
D | upload-diffs.py | 44 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/ |
D | key.py | 26 import mimetypes 920 self.content_type = mimetypes.guess_type(self.path)[0]
|
12