Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 31) sorted by relevance

12

/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java173 for (String mime : mimeTypes) { in main()
174 String[] indexFiles = info.getIndexFilesForMimeType(mime); in main()
176 System.out.print("# Found plugin for Mime type: \"" + mime + "\""); in main()
185 registerPluginForMimeType(indexFiles, mime, info.getWebServerPlugin(mime), options); in main()
369 Response serveFile(String uri, Map<String, String> header, File file, String mime) { in serveFile() argument
418 res = createResponse(Response.Status.PARTIAL_CONTENT, mime, fis); in serveFile()
425 res = createResponse(Response.Status.NOT_MODIFIED, mime, ""); in serveFile()
427 res = createResponse(Response.Status.OK, mime, new FileInputStream(file)); in serveFile()
442 String mime = null; in getMimeTypeForFile() local
444 mime = MIME_TYPES.get(uri.substring(dot + 1).toLowerCase()); in getMimeTypeForFile()
[all …]
DWebServerPluginInfo.java10 String[] getIndexFilesForMimeType(String mime); in getIndexFilesForMimeType() argument
/external/lldb/utils/test/
Dras.py21 from email.mime.audio import MIMEAudio
22 from email.mime.base import MIMEBase
23 from email.mime.image import MIMEImage
24 from email.mime.multipart import MIMEMultipart
25 from email.mime.text import MIMEText
/external/jetty/src/java/org/eclipse/jetty/client/
DContentExchange.java86 String mime = StringUtil.asciiToLowerCase(value.toString()); in onResponseHeader() local
87 int i = mime.indexOf("charset="); in onResponseHeader()
90 _encoding = mime.substring(i + 8); in onResponseHeader()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java10 import org.apache.http.entity.mime.HttpMultipartMode;
11 import org.apache.http.entity.mime.MultipartEntity;
12 import org.apache.http.entity.mime.content.StringBody;
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DResourceHandler.java466 Buffer mime=_mimeTypes.getMimeByExtension(resource.toString()); in handle() local
467 if (mime==null) in handle()
468 mime=_mimeTypes.getMimeByExtension(request.getPathInfo()); in handle()
471 doResponseHeaders(response,resource,mime!=null?mime.toString():null); in handle()
DContextHandler.java1840 Buffer mime = _mimeTypes.getMimeByExtension(file); in getMimeType()
1841 if (mime != null) in getMimeType()
1842 return mime.toString(); in getMimeType()
/external/wpa_supplicant_8/src/utils/
Dbrowser.c100 gchar *mime, WebKitWebPolicyDecision *policy, in view_cb_mime_type_policy_decision() argument
103 wpa_printf(MSG_DEBUG, "BROWSER:%s mime=%s", __func__, mime); in view_cb_mime_type_policy_decision()
105 if (!webkit_web_view_can_show_mime_type(view, mime)) { in view_cb_mime_type_policy_decision()
/external/clang/tools/scan-view/
DReporter.py29 from email.mime.base import MIMEBase
30 from email.mime.multipart import MIMEMultipart
31 from email.mime.text import MIMEText
/external/chromium-trace/trace-viewer/third_party/Paste/paste/exceptions/
Dreporter.py4 from email.mime.text import MIMEText
5 from email.mime.multipart import MIMEMultipart
/external/nanohttpd/webserver/markdown-plugin/src/main/java/fi/iki/elonen/
DMarkdownWebServerPluginInfo.java12 @Override public String[] getIndexFilesForMimeType(String mime) { in getIndexFilesForMimeType() argument
/external/libxml2/
Dnanohttp.c737 const xmlChar *charset, *last, *mime; in xmlNanoHTTPScanAnswer() local
743 mime = (const xmlChar *) cur; in xmlNanoHTTPScanAnswer()
744 last = mime; in xmlNanoHTTPScanAnswer()
750 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); in xmlNanoHTTPScanAnswer()
763 const xmlChar *charset, *last, *mime; in xmlNanoHTTPScanAnswer() local
768 mime = (const xmlChar *) cur; in xmlNanoHTTPScanAnswer()
769 last = mime; in xmlNanoHTTPScanAnswer()
775 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); in xmlNanoHTTPScanAnswer()
DxmlIO.c3879 const char *mime; in xmlCheckHTTPInput() local
3894 mime = xmlNanoHTTPMimeType(ret->buf->context); in xmlCheckHTTPInput()
3895 if ((xmlStrstr(BAD_CAST mime, BAD_CAST "/xml")) || in xmlCheckHTTPInput()
3896 (xmlStrstr(BAD_CAST mime, BAD_CAST "+xml"))) { in xmlCheckHTTPInput()
3913 } else if (xmlStrstr(BAD_CAST mime, BAD_CAST "html")) { in xmlCheckHTTPInput()
/external/jetty/src/java/org/eclipse/jetty/http/
DMimeTypes.java132 ResourceBundle mime = ResourceBundle.getBundle("org/eclipse/jetty/http/mime");
133 Enumeration i = mime.getKeys();
137 String m = mime.getString(ext);
/external/nanohttpd/
DREADME.md38 * Contains a built-in list of most common mime types.
39 * Runtime extension support (extensions that serve particular mime types) - example extension that …
/external/libogg/
DCHANGES42 * RFC 3534 documentation of the application/ogg mime-type by Linus Walleij
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/
DDecoder.java21 package org.ksoap2.kobjects.mime;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java590 String mime = URLConnection.guessContentTypeFromStream(is);
592 expected[i], mime);
/external/boringssl/src/crypto/obj/
Dobjects.txt835 Mail 1 : mime-mhs : MIME MHS
836 mime-mhs 1 : mime-mhs-headings : mime-mhs-headings
837 mime-mhs 2 : mime-mhs-bodies : mime-mhs-bodies
838 mime-mhs-headings 1 : id-hex-partial-message : id-hex-partial-message
839 mime-mhs-headings 2 : id-hex-multipart-message : id-hex-multipart-message
/external/elfutils/src/
DABOUT-NLS331 shared-mime-info | [] [] [] [] () [] [] [] |
500 shared-mime-info | [] [] [] [] [] [] |
669 shared-mime-info | [] [] [] [] [] [] [] |
838 shared-mime-info | [] [] [] [] [] [] |
1007 shared-mime-info | [] [] [] | 29
/external/libexif/
DABOUT-NLS296 shared-mime-info | |
433 shared-mime-info | [] [] [] |
570 shared-mime-info | [] [] |
707 shared-mime-info | [] [] | 7
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java606 String mime = mimeType; in send() local
617 if (mime != null) { in send()
618 pw.print("Content-Type: " + mime + "\r\n"); in send()
/external/chromium-trace/trace-viewer/third_party/six/documentation/
Dindex.rst561 | ``email_mime_multipart`` | :mod:`py2:email.MIMEMultipart` | :mod:`py3:email.mime.multipa…
563 | ``email_mime_nonmultipart`` | :mod:`py2:email.MIMENonMultipart` | :mod:`py3:email.mime.nonmult…
565 | ``email_mime_text`` | :mod:`py2:email.MIMEText` | :mod:`py3:email.mime.text` …
567 | ``email_mime_base`` | :mod:`py2:email.MIMEBase` | :mod:`py3:email.mime.base` …
/external/jetty/
DVERSION.txt292 + 394839 Allow multipart mime with no boundary
295 + 395215 Multipart mime with just LF and no CRLF
299 + 396459 Log specific message for empty request body for multipart mime
340 + 394839 Allow multipart mime with no boundary
341 + 395215 Multipart mime with just LF and no CRLF
344 + 396459 Log specific message for empty request body for multipart mime
400 + 393218 add xsd=application/xml mime mapping to defaults
431 + 393218 add xsd=application/xml mime mapping to defaults
1409 + 320264 Removed duplicate mime.property entries
1519 + 320264 Removed duplicate mime.property entries
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/docs/
Dnews.txt438 for quality and mime-types.
467 incoming HTPT Accept values against a list of mime-types.

12