- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 351 for gzip (0.02 sec)
-
fastapi/middleware/gzip.py
from starlette.middleware.gzip import GZipMiddleware as GZipMiddleware # noqa...
Registered: 2025-05-25 07:19 - Last Modified: 2020-12-20 18:50 - 79 bytes - Viewed (0) -
src/main/java/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: 2025-05-25 00:10 - Last Modified: 2019-03-22 20:39 - 5.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
/** * Returns a gzip version of the RequestBody, with compressed payload. * This is not automatic as not all servers support gzip compressed requests. * * ``` * val request = Request.Builder().url("...") * .addHeader("Content-Encoding", "gzip") * .post(uncompressedBody.gzip()) * .build() * ``` */ @JvmStatic
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-27 14:51 - 9.9K bytes - Viewed (0) -
cmd/metacache-entries_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", ...
Registered: 2025-05-25 19:28 - Last Modified: 2022-01-02 17:15 - 31.6K bytes - Viewed (0) -
docs/de/docs/how-to/custom-request-and-route.md
* Dekomprimierung gzip-komprimierter Requestbodys. * Automatisches Loggen aller Requestbodys. ## Handhaben von benutzerdefinierten Requestbody-Kodierungen Sehen wir uns an, wie Sie eine benutzerdefinierte `Request`-Unterklasse verwenden, um gzip-Requests zu dekomprimieren.
Registered: 2025-05-25 07:19 - Last Modified: 2024-11-18 02:25 - 5.1K bytes - Viewed (0) -
docs/es/docs/advanced/middleware.md
## `GZipMiddleware` Maneja responses GZip para cualquier request que incluya `"gzip"` en el header `Accept-Encoding`. El middleware manejará tanto responses estándar como en streaming. {* ../../docs_src/advanced_middleware/tutorial003.py hl[2,6] *} Se soportan los siguientes argumentos:
Registered: 2025-05-25 07:19 - Last Modified: 2024-12-30 18:26 - 4.3K bytes - Viewed (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py
headers = {} body = [1] * n data = json.dumps(body).encode() if compress: data = gzip.compress(data) headers["Content-Encoding"] = "gzip" headers["Content-Type"] = "application/json" response = client.post("/sum", content=data, headers=headers) assert response.json() == {"sum": n} def test_request_class(): response = client.get("/check-class")
Registered: 2025-05-25 07:19 - Last Modified: 2022-11-13 14:26 - 886 bytes - Viewed (0) -
internal/s3select/progress.go
scannedReader: scannedReader, } var r io.Reader switch compType { case noneType: r = scannedReader case gzipType: gzr, err := gzip.NewReader(scannedReader) if err != nil { if errors.Is(err, gzip.ErrHeader) || errors.Is(err, gzip.ErrChecksum) { return nil, errInvalidCompression(err, compType) } return nil, errTruncatedInput(err) } r = gzr pr.closer = gzr
Registered: 2025-05-25 19:28 - Last Modified: 2024-09-22 00:33 - 4.3K bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py
client = TestClient(app) def test_middleware(): response = client.get("/large", headers={"accept-encoding": "gzip"}) assert response.status_code == 200, response.text assert response.text == "x" * 4000 assert response.headers["Content-Encoding"] == "gzip" assert int(response.headers["Content-Length"]) < 4000 response = client.get("/")
Registered: 2025-05-25 07:19 - Last Modified: 2020-07-09 18:06 - 665 bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
* responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */ object BrotliInterceptor : Interceptor { override fun intercept(chain: Interceptor.Chain): Response = if (chain.request().header("Accept-Encoding") == null) { val request = chain .request() .newBuilder() .header("Accept-Encoding", "br,gzip") .build()
Registered: 2025-05-30 11:42 - Last Modified: 2025-03-19 19:25 - 1.4K bytes - Viewed (0)