- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 381 for gzip (0.04 sec)
-
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") } } @Test fun curlGet() { val request = Request .Builder() .url("https://example.com") .header("Authorization", "Bearer abc123") .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 24 11:36:14 UTC 2025 - 24.4K bytes - Viewed (0) -
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: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
* It supports various HTTP methods, request parameters, headers, body content, and more. */ public class CurlRequest { /** * The GZIP compression type. */ protected static final String GZIP = "gzip"; /** * Logger for logging request details. */ protected static final Logger logger = Logger.getLogger(CurlRequest.class.getName()); /**Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
* Decompressing gzip-compressed request bodies. * Automatically logging all request bodies. ## Handling custom request body encodings { #handling-custom-request-body-encodings } Let's see how to make use of a custom `Request` subclass to decompress gzip requests. And an `APIRoute` subclass to use that custom request class.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/select/README.md
- UTF-8 is the only encoding type the Select API supports. - GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP, BZIP2, [ZSTD](https://facebook.github.io/zstd/), and streaming formats of [LZ4](https://lz4.github.io/lz4/), [S2](https://github.com/klauspost/compress/tree/master/s2#s2-compression) and [SNAPPY](http://google.github.io/snappy/).
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 6.6K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
docs_src/advanced_middleware/tutorial003_py39.py
from fastapi import FastAPI from fastapi.middleware.gzip import GZipMiddleware app = FastAPI() app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5) @app.get("/") async def main():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 230 bytes - Viewed (0) -
cmd/callhome.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "compress/gzip" "context" "encoding/json" "errors" "fmt" "math/rand" "net/url" "time" "github.com/minio/madmin-go/v3" ) var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Call gzip() and verify it sets compression request.gzip(); // We can't directly access compression field, but we can verify the method returns this assertSame(request, request.gzip()); } @Test public void testMultipleCompressionCalls() {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
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. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 15:15:28 UTC 2025 - 2.9K bytes - Viewed (1)