- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 404 (0.21 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
MockResponse.Builder() .status("HTTP/1.1 404 Not Found") .build(), ) newWebSocket() clientListener.assertFailure( 404, null, ProtocolException::class.java, "Expected HTTP 101 response but was '404 Not Found'", ) } @Test fun clientTimeoutClosesBody() { webServer.enqueue( MockResponse.Builder() .code(408)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CacheTest.kt
assertCached(true, 307) assertCached(true, 308) assertCached(false, 400) assertCached(false, 401) assertCached(false, 402) assertCached(false, 403) assertCached(true, 404) assertCached(true, 405) assertCached(false, 406) assertCached(false, 408) assertCached(false, 409) // the HTTP spec permits caching 410s, but the RI doesn't. assertCached(true, 410)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0)