Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for abcabcabc (0.3 sec)

  1. 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")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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 ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  3. 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() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K 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},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. 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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
Back to top