Home
last modified time | relevance | path

Searched refs:DEFAULT_ALLOWED_HEADERS (Results 1 – 2 of 2) sorted by relevance

/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DTestCorsHttpServer.java129 …uld have added a header: Access-Control-Allow-Headers: " + SimpleWebServer.DEFAULT_ALLOWED_HEADERS, in testAccessControlAllowHeaderUsesDefaultsWithoutSystemProperty()
130 …SimpleWebServer.DEFAULT_ALLOWED_HEADERS, response.getLastHeader("Access-Control-Allow-Headers").ge… in testAccessControlAllowHeaderUsesDefaultsWithoutSystemProperty()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java592 … return System.getProperty(ACCESS_CONTROL_ALLOW_HEADER_PROPERTY_NAME, DEFAULT_ALLOWED_HEADERS); in calculateAllowHeaders()
600 final static String DEFAULT_ALLOWED_HEADERS = "origin,accept,content-type"; field in SimpleWebServer