- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for abcabcabc (0.06 seconds)
-
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")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (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() {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) -
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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0)