- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for permitted (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
// We can't begin the edit if writing 'DIRTY' fails. filesystem.setFaultyWrite(journalFile, true) assertThat(cache.edit("c")).isNull() // Once the journal has a failure, subsequent writes aren't permitted. filesystem.setFaultyWrite(journalFile, false) assertThat(cache.edit("d")).isNull() // Confirm that the fault didn't corrupt entries stored before the fault was introduced. cache.close()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
hand it off to another thread to write to it after `writeTo` returns. The `EventListener` may now see requests and responses interleaved in ways not previously permitted. For example, a listener may receive `responseHeadersStart()` followed by `requestBodyEnd()`, both on the same call. Such events may be triggered by different threads even for a single call.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response.body.string()).isEqualTo("abc") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Note that although we have two routes available, we only use one. The retry is permitted // because there are routes available, but it chooses the existing connection since it isn't // yet considered unhealthy. assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
// * URI is much more strict than HttpUrl or URL on what's accepted. // // HttpUrl is quite lenient with what characters it accepts. In particular, characters like '{' // and '"' are permitted but unlikely to occur in real-world URLs. Unfortunately we can't just // lock it down due to URL templating: "http://{env}.{dc}.example.com". UrlComponentEncodingTester .newInstance()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0)