- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for 304 (0.02 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertCached(false, 207) assertCached(true, 300) assertCached(true, 301) assertCached(true, 302) assertCached(false, 303) assertCached(false, 304) assertCached(false, 305) assertCached(false, 306) assertCached(true, 307) assertCached(true, 308) assertCached(false, 400) assertCached(false, 401) assertCached(false, 402)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
cmd/server_test.go
// The responses for fetching the object when If-Modified-Since // and If-Unmodified-Since headers set are validated. // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified). // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed). func (s *TestSuiteCommon) TestHeadOnObjectLastModified(c *check) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
// Check the network response. It has the caller's request, plus some caching headers. cacheHit .networkResponse() .assertCode(304) .assertHeader("Donut", "b") .assertRequestHeader("Accept-Language", "en-US") .assertRequestHeader("Accept-Charset", "UTF-8")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0)