Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for decompression (0.08 sec)

  1. docs/en/docs/advanced/middleware.md

    * `minimum_size` - Do not GZip responses that are smaller than this minimum size in bytes. Defaults to `500`.
    * `compresslevel` - Used during GZip compression. It is an integer ranging from 1 to 9. Defaults to `9`. Lower value results in faster compression but larger file sizes, while higher value results in slower compression but smaller file sizes.
    
    ## Other middlewares
    
    There are many other ASGI middlewares.
    
    For example:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K 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. Makefile

    	@(env bash $(PWD)/docs/site-replication/run-sse-kms-object-replication.sh)
    	@echo "Running tests for automatic site replication of SSE-C objects with compression enabled for site"
    	@(env bash $(PWD)/docs/site-replication/run-ssec-object-replication-with-compression.sh)
    
    test-multipart: install-race ## test multipart
    	@echo "Test multipart behavior when part files are missing"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. RELEASE.md

            round robin reads, users can guarantee that consumers get similar-sized
            examples in the same step.
        *   tf.data service now supports optional compression. Previously data would
            always be compressed, but now you can disable compression by passing
            `compression=None` to `tf.data.experimental.service.distribute(...)`.
        *   `tf.data.Dataset.batch()` now supports `num_parallel_calls` and
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v1.go

    	Size       int64             `json:"size" msg:"s"`        // Size of the part on the disk.
    	ActualSize int64             `json:"actualSize" msg:"as"` // Original size of the part without compression or encryption bytes.
    	ModTime    time.Time         `json:"modTime" msg:"mt"`    // Date and time at which the part was uploaded.
    	Index      []byte            `json:"index,omitempty" msg:"i,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    // IsCompressed returns true if the object is marked as compressed.
    func (fi FileInfo) IsCompressed() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // InlineData returns true if object contents are inlined alongside its metadata.
    func (fi FileInfo) InlineData() bool {
    	_, ok := fi.Metadata[ReservedMetadataPrefixLower+"inline-data"]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    				fmt.Fprint(h, etyp)
    			}
    
    			// If compressed, look for compressed FileInfo only
    			if meta.IsCompressed() {
    				fmt.Fprint(h, meta.Metadata[ReservedMetadataPrefix+"compression"])
    			}
    
    			metaHashes[i] = hex.EncodeToString(h.Sum(nil))
    			h.Reset()
    		}
    	}
    
    	metaHashCountMap := make(map[string]int)
    	for _, hash := range metaHashes {
    		if hash == "" {
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	PartActualSizes    []int64           `json:"PartASizes,omitempty" msg:"PartASizes,allownil"` // Part ActualSizes (compression)
    	PartIndices        [][]byte          `json:"PartIndices,omitempty" msg:"PartIdx,omitempty"`  // Part Indexes (compression)
    	Size               int64             `json:"Size" msg:"Size"`                                // Object version size
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. docs/en/docs/release-notes.md

            * Run middleware-like code only for a subset of *path operations*.
            * Process a request before passing it to a *path operation function*. E.g. decompressing, deserializing, etc.
            * Processing a response after being generated by *path operation functions* but before returning it. E.g. adding custom headers, logging, adding extra metadata.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top