- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 164 for GZIP (0.02 seconds)
-
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") assertThat(recorded.headers["HTTP2-Settings"]).isNotNull() assertThat(recorded.headers["Upgrade"]).isEqualTo("h2c") // HTTP/2 over plaintext!Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 25 13:16:02 GMT 2026 - 2.6K bytes - Click Count (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)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
internal/http/transports.go
TLSHandshakeTimeout: 10 * time.Second, TLSClientConfig: &tlsClientConfig, ForceAttemptHTTP2: s.EnableHTTP2, // Go net/http automatically unzip if content-type is // gzip disable this feature, as we are always interested // in raw stream. DisableCompression: true, } // https://github.com/golang/go/issues/23559 // https://github.com/golang/go/issues/42534
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (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
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 26.7K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt
val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip") assertThat(recorded.headers["Connection"]).isEqualTo("Keep-Alive") assertThat(recorded.headers["User-Agent"]!!).matches(Regex("okhttp/.*")) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertThat(request.headers["Accept-Encoding"]).isEqualTo("gzip") } @Test fun clientConfiguredGzipContentEncoding() { val bodyBytes = gzip("ABCDEFGHIJKLMNOPQRSTUVWXYZ") server.enqueue( MockResponse .Builder() .body(bodyBytes) .addHeader("Content-Encoding: gzip") .build(), ) val response = getResponse(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 133.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.5K bytes - Click Count (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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
src/cmd/api/testdata/src/pkg/p1/p1.go
VError = BarE() V1 = Bar1(1, 2, 3) V2 = ptwo.G() ) // Variables with conversions: var ( StrConv = string("foo") ByteConv = []byte("foo") ) var ChecksumError = ptwo.NewError("gzip checksum error") const B0 = 2 const StrConst = "foo" const FloatConst = 1.5 type myInt int type MyInt int type Time struct{} type S struct { // Deprecated: use PublicTime.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K bytes - Click Count (0) -
internal/s3select/errors.go
cause: err, } } func errInvalidCompressionFormat(err error) *s3Error { return &s3Error{ code: "InvalidCompressionFormat", message: "The file is not in a supported compression format. GZIP, BZIP2, ZSTD, LZ4, S2 and SNAPPY are supported.", statusCode: 400, cause: err, } } func errInvalidCompression(err error, t CompressionType) *s3Error { return &s3Error{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 14 16:48:36 GMT 2022 - 4.3K bytes - Click Count (0)