Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Content (0.23 sec)

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

       * content to go along with it. https://github.com/square/okhttp/issues/358
       */
      @Test
      fun noTransparentGzipFor304NotModified() {
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .addHeader("Content-Encoding: gzip")
            .build(),
        )
    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

        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptCertificate(cacheEntry: Path) {
        var content = fileSystem.source(cacheEntry).buffer().readUtf8()
        content = content.replace("MII", "!!!")
        fileSystem.sink(cacheEntry).buffer().writeUtf8(content).close()
      }
    
      @Test
      fun responseCachingAndRedirects() {
        server.enqueue(
          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)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertHeader("Content-Encoding")
          .assertHeader("Content-Length")
          .assertBody("abcabcabc")
    
        // But the network request doesn't lie. OkHttp used gzip for this call.
        userResponse.networkResponse()
          .assertHeader("Content-Encoding", "gzip")
          .assertHeader("Content-Length", bodySize)
          .assertRequestHeader("Accept-Encoding", "gzip")
      }
    
    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. okhttp-android/src/main/baseline-prof.txt

    HSPLandroidx/profileinstaller/ProfileInstallerInitializer$$ExternalSyntheticLambda1;-><init>(Landroid/content/Context;)V
    HSPLandroidx/profileinstaller/ProfileInstallerInitializer$$ExternalSyntheticLambda2;-><init>(Landroidx/profileinstaller/ProfileInstallerInitializer;Landroid/content/Context;)V
    HSPLandroidx/profileinstaller/ProfileInstallerInitializer$$ExternalSyntheticLambda2;->run()V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // Hellenic Ministry of Infrastructure, Transport, and Networks
    ελ
    
    // xn--j6w193g ("Hong Kong", Chinese) : HK
    // https://www.hkirc.hk
    // Submitted by registry <******@****.***>
    // https://www.hkirc.hk/content.jsp?id=30#!/34
    香港
    公司.香港
    教育.香港
    政府.香港
    個人.香港
    網絡.香港
    組織.香港
    
    // xn--2scrj9c ("Bharat", Kannada) : IN
    // India
    ಭಾರತ
    
    // xn--3hcrj9c ("Bharat", Oriya) : IN
    // India
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top