HomeSort by relevance Sort by last modified time
    Searched refs:ResponseException (Results 1 - 2 of 2) sorted by null

  /external/nanohttpd/core/src/main/java/fi/iki/elonen/
NanoHTTPD.java 586 private void decodeHeader(BufferedReader in, Map<String, String> pre, Map<String, String> parms, Map<String, String> headers) throws ResponseException {
596 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Syntax error. Usage: GET /example/file.html");
602 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Missing URI. Usage: GET /example/file.html");
637 throw new ResponseException(Response.Status.INTERNAL_ERROR, "SERVER INTERNAL ERROR: IOException: " + ioe.getMessage(), ioe);
644 private void decodeMultipartFormData(String boundary, String encoding, ByteBuffer fbuf, Map<String, String> parms, Map<String, String> files) throws ResponseException {
648 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Content type is multipart/form-data but contains less than two boundary strings.");
663 throw new ResponseException(Response.Status.BAD_REQUEST, "BAD REQUEST: Content type is multipart/form-data but chunk does not start with boundary.");
697 throw new ResponseException(Response.Status.INTERNAL_ERROR, "Multipart header size exceeds MAX_HEADER_SIZE.");
723 } catch (ResponseException re) {
726 throw new ResponseException(Response.Status.INTERNAL_ERROR, e.toString())
    [all...]
  /external/python/cpython3/Lib/test/
test_smtplib.py 670 class ResponseException(Exception): pass
696 except ResponseException as e:
    [all...]

Completed in 1027 milliseconds