/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
D | mimeparse.py | 158 return [mimetype for mimetype in desired 159 if quality_parsed(mimetype, parsed_ranges)]
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | httpheaders.py | 854 (result, mimetype) = self._compose(**kwargs) 860 mimetype = CONTENT_TYPE(collection) 861 if filename and (not mimetype or CONTENT_TYPE.UNKNOWN == mimetype): 862 mimetype, _ = mimetypes.guess_type(filename) 863 if mimetype and CONTENT_TYPE.UNKNOWN != mimetype: 864 CONTENT_TYPE.update(collection, mimetype) 866 return mimetype
|
D | wsgiwrappers.py | 307 def __init__(self, content=b'', mimetype=None, code=200): argument 317 if not mimetype: 318 mimetype = defaults.get('content_type', 'text/html') 321 mimetype = '%s; charset=%s' % (mimetype, charset) 323 self.headers['Content-Type'] = mimetype
|
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/ |
D | http.py | 152 def mimetype(self): member in MediaUpload 284 def __init__(self, fd, mimetype, chunksize=DEFAULT_CHUNK_SIZE, argument 304 self._mimetype = mimetype 321 def mimetype(self): member in MediaIoBaseUpload 409 def __init__(self, filename, mimetype=None, chunksize=DEFAULT_CHUNK_SIZE, argument 427 if mimetype is None: 428 (mimetype, encoding) = mimetypes.guess_type(filename) 429 super(MediaFileUpload, self).__init__(fd, mimetype, chunksize=chunksize, 444 return MediaFileUpload(d['_filename'], mimetype=d['_mimetype'], 456 def __init__(self, body, mimetype='application/octet-stream', argument [all …]
|
D | discovery.py | 708 mimetype=media_mime_type) 732 headers['content-type'] = media_upload.mimetype() 747 msg = MIMENonMultipart(*media_upload.mimetype().split('/'))
|
/external/curl/docs/examples/ |
D | curlx.c | 268 char* mimetype; in main() local 321 mimetype = *(++args); in main() 337 if (mimetype==NULL || mimetypeaccept == NULL) badarg = 1; in main() 444 contenttype = malloc(15+strlen(mimetype)); in main() 445 sprintf(contenttype,"Content-type: %s",mimetype); in main()
|
/external/google-breakpad/src/testing/gtest/scripts/ |
D | upload.py | 715 mimetype = mimetypes.guess_type(filename)[0] 716 if not mimetype: 718 return mimetype.startswith("image/") 910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename], 913 is_binary = mimetype and not mimetype.startswith("text/") 927 mimetype, returncode = RunShellWithReturnCode(cmd) 931 mimetype = "" 933 is_binary = mimetype and not mimetype.startswith("text/")
|
/external/google-breakpad/src/testing/scripts/ |
D | upload.py | 715 mimetype = mimetypes.guess_type(filename)[0] 716 if not mimetype: 718 return mimetype.startswith("image/") 910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename], 913 is_binary = mimetype and not mimetype.startswith("text/") 927 mimetype, returncode = RunShellWithReturnCode(cmd) 931 mimetype = "" 933 is_binary = mimetype and not mimetype.startswith("text/")
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
D | upload-diffs.py | 941 mimetype = mimetypes.guess_type(filename)[0] 942 if not mimetype: 944 return mimetype.startswith("image/") 1149 mimetype = RunShell(["svn", "propget", "svn:mime-type", 1152 is_binary = bool(mimetype) and not mimetype.startswith("text/") 1167 mimetype, returncode = RunShellWithReturnCode(cmd) 1171 mimetype = "" 1173 mimetype = mimetype.strip() 1178 is_binary = (bool(mimetype) and 1179 not mimetype.startswith("text/") and [all …]
|
/external/autotest/frontend/tko/ |
D | views.py | 33 graphing_utils.handle_plot_request(id, max_age), mimetype='image/png')
|
D | csv_encoder.py | 18 response = django.http.HttpResponse(mimetype='text/csv')
|
/external/autotest/frontend/afe/feeds/ |
D | feed.py | 34 response = HttpResponse(mimetype=feedgen.mime_type)
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
D | DefaultServlet.java | 977 … String mimetype=(content.getContentType()==null?null:content.getContentType().toString()); in sendData() local 978 if (mimetype==null) in sendData() 1006 (mimetype==null?0:HttpHeaders.CONTENT_TYPE.length()+2+mimetype.length())+2+ in sendData() 1017 multi.startPart(mimetype,new String[]{HttpHeaders.CONTENT_RANGE+": "+header[i]}); in sendData()
|
/external/chromium-trace/catapult/third_party/WebOb/docs/pycon2011/ |
D | request_table.rst | 63 … mimetype CommonRequestDescriptorMixin
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 547 …SResource *res, const char *container, const char *restype, const char *mimetype, const char *id, … in printContainer() argument 569 if (mimetype != NULL) { in printContainer() 570 printAttribute("mime-type", mimetype, (int32_t) uprv_strlen(mimetype)); in printContainer()
|
/external/chromium-trace/catapult/firefighter/base/ |
D | bigquery.py | 67 media_buffer, mimetype='application/octet-stream')
|
/external/chromium-trace/catapult/third_party/Paste/tests/ |
D | test_wsgiwrappers.py | 101 response = WSGIResponse(mimetype='text/html; charset=UTF-8')
|
/external/libvorbis/ |
D | CHANGES | 84 * application/ogg mimetype is now official
|
/external/regex-re2/lib/codereview/ |
D | codereview.py | 3319 mimetype = mimetypes.guess_type(filename)[0] 3320 if not mimetype: 3322 return mimetype.startswith("image/") 3326 mimetype = mimetypes.guess_type(filename)[0] 3327 if not mimetype: 3330 if mimetype in TEXT_MIMETYPES: 3332 return not mimetype.startswith("text/")
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ |
D | utils.py | 959 for possible_type, mimetype in starts_with_mappings.items(): 961 rtype = mimetype
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ref/ |
D | ref.css | 157 .mimetype { font-family: avantgarde, sans-serif; }
|
/external/chromium-trace/catapult/third_party/WebOb/docs/ |
D | differences.txt | 154 ``mimetype`` argument is ``content_type``, and ``content_type`` is 390 mimetype:
|
/external/autotest/frontend/afe/ |
D | rpc_utils.py | 100 response = django.http.HttpResponse(response_data, mimetype=content_type)
|
/external/guice/extensions/struts2/lib/ |
D | jetty-6.1.0.jar | ... .xml.XmlParser$Node node
String extension
String mimeType
protected void initWelcomeFileList (org.mortbay.xml. ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
D | org.mortbay.jetty.server_6.1.23.v201004211559.jar | META-INF/MANIFEST.MF
META-INF/ECLIPSEF.SF
META-INF/ECLIPSEF ... |