- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getHeadersReturnsCachedHopByHopHeaders (0.17 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
val response2 = get(server.url("/")) assertThat(response2.body.string()).isEqualTo("A") assertThat(response2.header("Allow")).isEqualTo("GET, HEAD, PUT") } @Test fun getHeadersReturnsCachedHopByHopHeaders() { server.enqueue( MockResponse.Builder() .addHeader("Transfer-Encoding: identity") .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)