Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for COMPRESSED (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

          contentType: MediaType?,
          file: File,
        ): RequestBody = file.asRequestBody(contentType)
    
        /**
         * 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())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    ## Use cases
    
    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a>).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    	t.Run("default+versioned", func(t *testing.T) {
    		fn(t, nil, MakeBucketOptions{VersioningEnabled: true})
    	})
    
    	t.Run("compressed", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    			enableCompression(t, false, []string{"*"}, []string{"*"})
    		}, MakeBucketOptions{})
    	})
    	t.Run("compressed+versioned", func(t *testing.T) {
    		fn(t, func() {
    			resetCompressEncryption()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SingletonImmutableSet.java

    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
      // compressed oops, a SingletonImmutableSet packs all the way down to the optimal 16 bytes.
    
      final transient E element;
    
      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. internal/http/headers.go

    	// predicted date/time of transition
    	MinIOTransition            = "X-Minio-Transition"
    	MinIOLifecycleCfgUpdatedAt = "X-Minio-LifecycleConfig-UpdatedAt"
    	// MinIOCompressed is returned when object is compressed
    	MinIOCompressed = "X-Minio-Compressed"
    
    	// SUBNET related
    	SubnetAPIKey = "x-subnet-api-key"
    )
    
    // Common http query params S3 API
    const (
    	VersionID = "versionId"
    
    	PartNumber = "partNumber"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        return result
      }
    
      @Throws(EOFException::class)
      private fun skipName(source: Buffer) {
        // 0 - 63 bytes
        var length = source.readByte().toInt()
    
        if (length < 0) {
          // compressed name pointer, first two bits are 1
          // drop second byte of compression offset
          source.skip(1)
        } else {
          while (length > 0) {
            // skip each part of the domain name
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/archive/zip/writer.go

    			// the file needs a zip64 header. store maxint in both
    			// 32 bit size fields (and offset later) to signal that the
    			// zip64 extra header should be used.
    			b.uint32(uint32max) // compressed size
    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. src/main/resources/crawler/rule.xml

    			<arg>
      "(application/xml"
    + "|application/xhtml+xml"
    + "|application/rdf+xml"
    + "|application/pdf"
    + "|application/x-freemind"
    + "|application/lha"
    + "|application/x-lha"
    + "|application/x-lha-compressed"
    + "|text/xml"
    + "|text/xml-external-parsed-entity"
    + "|text/html)"
    			</arg>
    		</postConstruct>
    	</component>
    
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 04 08:42:49 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

              assertThat(associatedStreamId).isEqualTo(-1)
              assertThat(headerBlock).isEqualTo(sentHeaders)
            }
          },
        )
      }
    
      /** Headers are compressed, then framed.  */
      @Test fun headersFrameThenContinuation() {
        val sentHeaders = largeHeaders()
        val headerBlock = literalHeaders(sentHeaders)
    
        // Write the first headers frame.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    		return io.ErrUnexpectedEOF
    	}
    	ver := int(b[0])
    	switch ver {
    	case dataUsageCacheVerV1:
    		return errors.New("cache version deprecated (will autoupdate)")
    	case dataUsageCacheVerV2:
    		// Zstd compressed.
    		dec, err := zstd.NewReader(r, zstd.WithDecoderConcurrency(2))
    		if err != nil {
    			return err
    		}
    		defer dec.Close()
    
    		dold := &dataUsageCacheV2{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top