- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for abcABCabc (0.08 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(get(server.url("/")).body.string()).isEqualTo("ABCABCABC") 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") .addHeader("Content-Type: text/plain")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
server.enqueue( 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0)