- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for responseHeaderParsingIsLenient (0.15 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
} assertFailsWith<IllegalArgumentException> { Request.Builder() .addHeader("Name", "\u2615\ufe0f") } } @Test fun responseHeaderParsingIsLenient() { val headersBuilder = Headers.Builder() headersBuilder.add("Content-Length", "0") addHeaderLenient(headersBuilder, "a\tb: c\u007fd") addHeaderLenient(headersBuilder, ": ef")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
assertThat(server.takeRequest().sequenceNumber).isEqualTo(1) } /** We forbid non-ASCII characters in outgoing request headers, but accept UTF-8. */ @Test fun responseHeaderParsingIsLenient() { val headersBuilder = Headers.Builder() headersBuilder.add("Content-Length", "0") addHeaderLenient(headersBuilder, "a\tb: c\u007fd") addHeaderLenient(headersBuilder, ": ef")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0)