Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Input (0.12 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val request = server.takeRequest()
        assertThat(request.headers["Accept-Encoding"]).isEqualTo("custom")
      }
    
      /**
       * Test a bug where gzip input streams weren't exhausting the input stream, which corrupted the
       * request that followed or prevented connection reuse. http://code.google.com/p/android/issues/detail?id=7059
       * http://code.google.com/p/android/issues/detail?id=38817
       */
    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)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      @Test
      fun responseCachingAndInputStreamSkipWithNoLengthHeaders() {
        testResponseCaching(TransferKind.END_OF_STREAM)
      }
    
      /**
       * Skipping bytes in the input stream caused ResponseCache corruption.
       * http://code.google.com/p/android/issues/detail?id=8175
       */
      private fun testResponseCaching(transferKind: TransferKind) {
        val mockResponse =
          MockResponse.Builder()
    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)
Back to top