Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for abcABCabc (0.04 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            .build()
        client.newCall(request).execute()
      }
    
      @Test
      fun networkInterceptorsObserveNetworkHeaders() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(gzip("abcabcabc"))
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	{"fo", "foo", -1},
    	{"foo", "foo", 0},
    	{"foo", "f", 0},
    	{"oofofoofooo", "f", 7},
    	{"oofofoofooo", "foo", 7},
    	{"barfoobarfoo", "foo", 9},
    	{"foo", "", 3},
    	{"foo", "o", 2},
    	{"abcABCabc", "A", 3},
    	{"abcABCabc", "a", 6},
    }
    
    var indexAnyTests = []BinOpTest{
    	{"", "", -1},
    	{"", "a", -1},
    	{"", "abc", -1},
    	{"a", "", -1},
    	{"a", "a", 0},
    	{"\x80", "\xffb", 0},
    	{"aaa", "a", 0},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Content-Encoding: gzip")
            .body(gzip("ABCABCABC"))
            .build(),
        )
        val call = client.newCall(Request(server.url("/r1")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCABCABC")
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun authenticate(protocol: Protocol) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top