- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getHeadersRetainsCached200LevelWarnings (0.48 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
val response2 = get(server.url("/")) assertThat(response2.body.string()).isEqualTo("A") assertThat(response2.header("Warning")).isNull() } @Test fun getHeadersRetainsCached200LevelWarnings() { server.enqueue( MockResponse.Builder() .addHeader("Warning: 299 test danger") .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)