Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GzipSource (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          networkResponse.promisesBody()
        ) {
          val responseBody = networkResponse.body
          if (responseBody != null) {
            val gzipSource = GzipSource(responseBody.source())
            val strippedHeaders =
              networkResponse.headers
                .newBuilder()
                .removeAll("Content-Encoding")
                .removeAll("Content-Length")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

     */
    package okhttp3
    
    import okhttp3.CompressionInterceptor.DecompressionAlgorithm
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.internal.http.promisesBody
    import okio.BufferedSource
    import okio.GzipSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (1)
Back to top