- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 128 for GZIP (0.03 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt
val decompressedSource = when { encoding.equals("br", ignoreCase = true) -> BrotliInputStream(body.source().inputStream()).source().buffer() encoding.equals("gzip", ignoreCase = true) -> GzipSource(body.source()).buffer() else -> return response } return response.newBuilder() .removeHeader("Content-Encoding") .removeHeader("Content-Length")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 13:19:01 UTC 2024 - 1.5K bytes - Viewed (0) -
docs/em/docs/advanced/middleware.md
* `allowed_hosts` - ๐ ๐ ๐ ๐ ๐ โ ๐. ๐ ๐ โ `*.example.com` ๐โ๐ฆบ ๐ ๐. โ ๐ ๐ ๐ฏโโ๏ธ โ๏ธ `allowed_hosts=["*"]` โ๏ธ ๐ซ ๐ ๏ธ. ๐ฅ ๐จ ๐จ ๐จ ๐ซ โ โ โคด๏ธ `400` ๐จ ๐ ๐จ. ## `GZipMiddleware` ๐ต ๐ ๐จ ๐ ๐จ ๐ ๐ `"gzip"` `Accept-Encoding` ๐. ๐ ๏ธ ๐ ๐ต ๐ฏโโ๏ธ ๐ฉ & ๐ฅ ๐จ. ```Python hl_lines="2 6" {!../../docs_src/advanced_middleware/tutorial003.py!} ``` ๐ โ ๐โ๐ฆบ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip") assertThat(recorded.headers["Connection"]).isNull() assertThat(recorded.headers["User-Agent"]!!).matches(Regex("Jetty/.*")) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersRequestTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/handler-utils.go
// Add more fields here. } } // Trims away `aws-chunked` from the content-encoding header if present. // Streaming signature clients can have custom content-encoding such as // `aws-chunked,gzip` here we need to only save `gzip`. // For more refer http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html func trimAwsChunkedContentEncoding(contentEnc string) (trimmedContentEnc string) { if contentEnc == "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0) -
internal/s3select/select.go
var stErr bzip2.StructuralError if errors.As(err, &stErr) { return errInvalidCompression(err, s3Select.Input.CompressionType) } // Test these compressor errors errs := []error{ gzip.ErrHeader, gzip.ErrChecksum, s2.ErrCorrupt, s2.ErrUnsupported, s2.ErrCRC, zstd.ErrBlockTooSmall, zstd.ErrMagicMismatch, zstd.ErrWindowSizeExceeded, zstd.ErrUnknownDictionary, zstd.ErrWindowSizeTooSmall,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 22 00:33:43 UTC 2024 - 21.2K bytes - Viewed (0) -
cmd/admin-router.go
gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed)) if err != nil { // Static params, so this is very unlikely. logger.Fatal(err, "Unable to initialize server") } return gz }() // Set of handler options as bit flags type hFlag uint8 const ( // this flag disables gzip compression of responses noGZFlag = 1 << iota
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 26.2K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isNull() // No built-in gzip. assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings") if (PlatformVersion.majorVersion < 19) { assertThat(recorded.headers["Content-Length"]).isEqualTo("0") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/compression/README.md
Decompressing incompressible data has no significant performance impact. Below is a list of common files and content-types which are typically not suitable for compression. - Extensions | `gz` | (GZIP) | | `bz2` | (BZIP2) | | `rar` | (WinRAR) | | `zip` | (ZIP) | | `7z` | (7-Zip) | | `xz` | (LZMA) | | `mp4` | (MP4) | | `mkv` | (MKV media) |
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 11 11:55:34 UTC 2024 - 5.1K bytes - Viewed (0)