Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 330 for gzip (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .post("This is the original message".toRequestBody())
            .gzip()
            .gzip()
            .build()
        }.also {
          assertThat(it).hasMessage("Content-Encoding already set: gzip")
        }
      }
    
      private fun bodyToHex(body: RequestBody): String {
        val buffer = Buffer()
        body.writeTo(buffer)
        return buffer.readByteString().hex()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. cmd/api-resources_test.go

    				"fetch-owner":        []string{"true"},
    				"max-keys":           []string{"100"},
    				"encoding-type":      []string{"gzip"},
    			},
    			prefix:       "photos/",
    			token:        "token",
    			startAfter:   "start-after",
    			delimiter:    SlashSeparator,
    			fetchOwner:   true,
    			maxKeys:      100,
    			encodingType: "gzip",
    			errCode:      ErrNone,
    		},
    		{
    			values: url.Values{
    				"prefix":             []string{"photos/"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

      }
    
      @Test
      fun gzipThroughCall() {
        val gzip = CompressionInterceptor(Gzip)
        val client =
          clientTestRule
            .newClientBuilder()
            .addInterceptor(gzip)
            .addInterceptor { chain ->
              assertThat(chain.request().header("Accept-Encoding")).isEqualTo("gzip")
    
              Response
                .Builder()
                .request(chain.request())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorJavaTest.java

     */
    package okhttp3.zstd;
    
    import okhttp3.CompressionInterceptor;
    import okhttp3.Gzip;
    import okhttp3.brotli.Brotli;
    import org.junit.jupiter.api.Test;
    
    class ZstdInterceptorJavaTest {
      @Test
      public void testConstructor() {
        CompressionInterceptor interceptor = new CompressionInterceptor(
          Zstd.INSTANCE,
          Gzip.INSTANCE,
          Brotli.INSTANCE
        );
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 969 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertEquals("100", response.getHeaderValue("content-length"));
            assertEquals("100", response.getHeaderValue("CONTENT-LENGTH"));
    
            assertEquals("gzip", response.getHeaderValue("Accept-Encoding"));
            assertEquals("gzip", response.getHeaderValue("ACCEPT-ENCODING"));
        }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. cmd/untar.go

    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"runtime"
    	"sync"
    	"time"
    
    	"github.com/cosnicolaou/pbzip2"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/compress/zstd"
    	gzip "github.com/klauspost/pgzip"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/pierrec/lz4/v4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (2)
  7. docs/es/docs/how-to/custom-request-and-route.md

    * Descomprimir cuerpos de requests comprimidos con gzip.
    * Registrar automáticamente todos los request bodies.
    
    ## Manejo de codificaciones personalizadas de request body
    
    Veamos cómo hacer uso de una subclase personalizada de `Request` para descomprimir requests gzip.
    
    Y una subclase de `APIRoute` para usar esa clase de request personalizada.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/middleware.md

    ## `GZipMiddleware`
    
    Verarbeitet GZip-Responses für alle Requests, die `"gzip"` im `Accept-Encoding`-Header enthalten.
    
    Diese Middleware verarbeitet sowohl Standard- als auch Streaming-Responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *}
    
    Die folgenden Argumente werden unterstützt:
    
    * `minimum_size` – Antworten, die kleiner als diese Mindestgröße in Bytes sind, nicht per GZip komprimieren. Der Defaultwert ist `500`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          }
    
        /**
         * Configures this request's body to be compressed when it is transmitted. This also adds the
         * 'Content-Encoding: gzip' header.
         *
         * Only use this method if you have prior knowledge that the receiving server supports
         * gzip-compressed requests.
         *
         * It is an error to call this multiple times on the same instance.
         *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  10. src/test/resources/jcifs/smb1/util/mime.map

    application/x-director         dcr              # Director File
    application/x-dvi              dvi              # TeX dvi Format
    application/x-gtar             gtar             # Gzip and Tar file
    application/x-gzip             gz tgz           # Gzip and Tar file
    application/x-compress         z                # Gzip and Tar file
    application/x-hdf              hdf              # NCSA HDF
    application/x-ica              ica              # WinFrames
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top