Home
last modified time | relevance | path

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

/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java447 String lowercaseHeader = header.toLowerCase(Locale.US); in readRequest() local
448 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { in readRequest()
451 if (lowercaseHeader.startsWith("transfer-encoding:") in readRequest()
452 && lowercaseHeader.substring(18).trim().equals("chunked")) { in readRequest()
455 if (lowercaseHeader.startsWith("expect:") in readRequest()
456 && lowercaseHeader.substring(7).trim().equals("100-continue")) { in readRequest()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DMockWebServer.java609 String lowercaseHeader = header.toLowerCase(Locale.US);
610 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) {
613 if (lowercaseHeader.startsWith("transfer-encoding:")
614 && lowercaseHeader.substring(18).trim().equals("chunked")) {
617 if (lowercaseHeader.startsWith("expect:")
618 && lowercaseHeader.substring(7).trim().equals("100-continue")) {