Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 164 for GZIP (0.27 seconds)

  1. docs/ja/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    `Accept-Encoding` ヘッダーに "gzip" を含むリクエストに対して GZip レスポンスを処理します。
    
    このミドルウェアは、通常のレスポンスとストリーミングレスポンスの両方を処理します。
    
    {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *}
    
    サポートされる引数は次のとおりです:
    
    - `minimum_size` - このバイト数の最小サイズ未満のレスポンスは GZip 圧縮しません。デフォルトは `500` です。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. cmd/metacache-stream_test.go

    null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/", "src/compress/gzip/example_test.go", "src/compress/gzip/gunzip.go", "src/compress/gzip/gunzip_test.go", "src/compress/gzip/gzip.go", "src/compress/gzip/gzip_test.go", "src/compress/gzip/issue14937_test.go", "src/compress/gzip/testdata/", "src/compress/gzip/testdata/issue6550.gz.base64", "src/compress/lzw/", "src/compress/lzw/reader.go", "src/compress/lzw/reader_test.go", ...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/how-to/custom-request-and-route.md

    可能的使用情境包括:
    
    * 將非 JSON 的請求本文轉換為 JSON(例如 [`msgpack`](https://msgpack.org/index.html))。
    * 解壓縮以 gzip 壓縮的請求本文。
    * 自動記錄所有請求本文。
    
    ## 處理自訂請求本文編碼 { #handling-custom-request-body-encodings }
    
    讓我們看看如何使用自訂的 `Request` 子類別來解壓縮 gzip 請求。
    
    並透過 `APIRoute` 子類別來使用該自訂的請求類別。
    
    ### 建立自訂的 `GzipRequest` 類別 { #create-a-custom-gziprequest-class }
    
    /// tip
    
    這是一個示範用的簡化範例;如果你需要 Gzip 支援,可以直接使用提供的 [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. 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.
         *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

    import okio.BufferedSource
    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"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
     * a specific "Accept-Encoding: identity" or similar.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
  7. docs/zh/docs/advanced/middleware.md

    如果传入的请求没有通过验证,则发送 `400` 响应。
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    处理 `Accept-Encoding` 请求头中包含 `"gzip"` 请求的 GZip 响应。
    
    中间件会处理标准响应与流响应。
    
    {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *}
    
    支持以下参数:
    
    * `minimum_size` - 小于该最小字节数的响应不使用 GZip。默认值是 `500`。
    * `compresslevel` - GZip 压缩使用的级别,为 1 到 9 的整数。默认为 `9`。值越低压缩越快但文件更大,值越高压缩越慢但文件更小。
    
    ## 其它中间件 { #other-middlewares }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/middleware.md

    若傳入請求驗證失敗,將回傳 `400` 回應。
    
    ## `GZipMiddleware` { #gzipmiddleware }
    
    處理在 `Accept-Encoding` 標頭中包含 `"gzip"` 的請求之 GZip 壓縮回應。
    
    此中介軟體會處理一般與串流回應。
    
    {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *}
    
    支援以下參數:
    
    - `minimum_size` - 小於此位元組大小的回應不會進行 GZip。預設為 `500`。
    - `compresslevel` - GZip 壓縮時使用的等級。為 1 到 9 的整數。預設為 `9`。值越小壓縮越快但檔案較大,值越大壓縮較慢但檔案較小。
    
    ## 其他中介軟體 { #other-middlewares }
    
    還有許多其他 ASGI 中介軟體。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. docs/ja/docs/how-to/custom-request-and-route.md

    * gzip 圧縮されたリクエストボディの解凍。
    * すべてのリクエストボディの自動ロギング。
    
    ## カスタムリクエストボディのエンコーディングの処理 { #handling-custom-request-body-encodings }
    
    gzip のリクエストを解凍するために、カスタムの `Request` サブクラスを使う方法を見ていきます。
    
    そして、そのカスタムリクエストクラスを使うための `APIRoute` サブクラスを用意します。
    
    ### カスタム `GzipRequest` クラスの作成 { #create-a-custom-gziprequest-class }
    
    /// tip | 豆知識
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing
        // the transfer stream.
        var transparentGzip = false
        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = chain.cookieJar.loadForRequest(userRequest.url)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
Back to Top