Home
last modified time | relevance | path

Searched refs:MIME_HTML (Results 1 – 5 of 5) sorted by relevance

/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpDeleteRequestTest.java45 … = NanoHTTPD.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, ""); in testDeleteRequestThatDoesntSendBackResponseBody_EmptyString()
63 …TTPD.newChunkedResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (InputStream) n… in testDeleteRequestThatDoesntSendBackResponseBody_NullInputStream()
81 …D.newFixedLengthResponse(NanoHTTPD.Response.Status.NO_CONTENT, NanoHTTPD.MIME_HTML, (String) null); in testDeleteRequestThatDoesntSendBackResponseBody_NullString()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DInternalRewrite.java51 super(Status.OK, NanoHTTPD.MIME_HTML, new ByteArrayInputStream(new byte[0]), 0); in InternalRewrite()
DSimpleWebServer.java402 …newFixedLengthResponse(Response.Status.REDIRECT, NanoHTTPD.MIME_HTML, "<html><body>Redirected: <a … in defaultRespond()
414 … return newFixedLengthResponse(Response.Status.OK, NanoHTTPD.MIME_HTML, listDirectory(uri, f)); in defaultRespond()
/external/nanohttpd/markdown-plugin/src/main/java/fi/iki/elonen/
DMarkdownWebServerPlugin.java119 …return markdownSource == null ? null : new NanoHTTPD.Response(OK, NanoHTTPD.MIME_HTML, new ByteArr… in serveFile()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1648 public static final String MIME_HTML = "text/html"; local
2003 return newFixedLengthResponse(Status.OK, NanoHTTPD.MIME_HTML, msg); in newFixedLengthResponse()