Home
last modified time | relevance | path

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

/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dmimeparse.py158 return [mimetype for mimetype in desired
159 if quality_parsed(mimetype, parsed_ranges)]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dhttpheaders.py854 (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
Dwsgiwrappers.py307 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/google-breakpad/src/testing/gtest/scripts/
Dupload.py715 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/
Dupload.py715 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/jetty/src/java/org/eclipse/jetty/servlet/
DDefaultServlet.java977 … 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/trace-viewer/third_party/WebOb/docs/pycon2011/
Drequest_table.rst63mimetype CommonRequestDescriptorMixin
/external/icu/icu4c/source/tools/genrb/
Dwrtxml.cpp546 …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/trace-viewer/third_party/Paste/tests/
Dtest_wsgiwrappers.py101 response = WSGIResponse(mimetype='text/html; charset=UTF-8')
/external/libvorbis/
DCHANGES84 * application/ogg mimetype is now official
/external/regex-re2/lib/codereview/
Dcodereview.py3319 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/trace-viewer/third_party/WebOb/docs/
Ddifferences.txt154 ``mimetype`` argument is ``content_type``, and ``content_type`` is
390 mimetype:
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/jetty/
DVERSION.txt307 + 397112 Requests with byte-range throws NPE if requested file has no mimetype
352 + 397112 Requests with byte-range throws NPE if requested file has no mimetype