- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ABCABCABC (0.22 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC") assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC") } @Test fun previouslyNotGzippedContentIsNotModifiedAndSpecifiesGzipEncoding() { server.enqueue( MockResponse .Builder() .body("ABCABCABC")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
MockResponse .Builder() .body(gzip("abcabcabc")) .addHeader("Content-Encoding: gzip") .build(), ) client = client .newBuilder() .authenticator(RecordingOkAuthenticator("password", null)) .build() executeSynchronously("/").assertBody("abcabcabc") } @Test fun rangeHeaderPreventsAutomaticGzip() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
server.enqueue( MockResponse .Builder() .body(gzip("ABCABCABC")) .addHeader("Content-Encoding: gzip") .build(), ) val response = getResponse(newRequest("/")) assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE)).isEqualTo( "ABCABCABC", ) assertThat(response.header("Content-Encoding")).isNull()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)