Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 136 for GZIP (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

          Request
            .Builder()
            .url("http://square.com/")
            .header("Connection", "upgrade")
            .header("Upgrade", "websocket")
            .header("Host", "square.com")
            .header("TE", "gzip")
            .build()
        val expected =
          headerEntries(
            ":method",
            "GET",
            ":path",
            "/",
            ":authority",
            "square.com",
            ":scheme",
            "http",
    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)
  6. 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)
  7. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

          if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) {
            return chain.proceed(originalRequest);
          }
    
          Request compressedRequest = originalRequest.newBuilder()
              .gzip()
              .build();
          return chain.proceed(compressedRequest);
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 04 17:43:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

            final ArchiveOutputStreamFactory compressor;
            switch (getCompression()) {
                case BZIP2:
                    compressor = Bzip2Archiver.getCompressor();
                    break;
                case GZIP:
                    compressor = GzipArchiver.getCompressor();
                    break;
                default:
                    compressor = new SimpleCompressor();
                    break;
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  9. docs/logging/README.md

      "userAgent": "MinIO (linux; amd64) minio-go/v7.0.70 mc/RELEASE.2024-04-30T17-44-48Z",
      "requestPath": "/testbucket/hosts",
      "requestHost": "localhost:9000",
      "requestHeader": {
        "Accept-Encoding": "zstd,gzip",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. internal/dsync/dsync-client_test.go

    		TLSHandshakeTimeout:   15 * time.Second,
    		ExpectContinueTimeout: 15 * time.Second,
    		// Go net/http automatically unzip if content-type is
    		// gzip disable this feature, as we are always interested
    		// in raw stream.
    		DisableCompression: true,
    	}
    
    	return &ReconnectRESTClient{
    		u:    u,
    		rest: rest.NewClient(u, tr, nil),
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
Back to Top