Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 376 for Lzip (0.07 sec)

  1. docs_src/custom_request_and_route/tutorial001_an_py39.py

    import gzip
    from typing import Annotated, Callable
    
    from fastapi import Body, FastAPI, Request, Response
    from fastapi.routing import APIRoute
    
    
    class GzipRequest(Request):
        async def body(self) -> bytes:
            if not hasattr(self, "_body"):
                body = await super().body()
                if "gzip" in self.headers.getlist("Content-Encoding"):
                    body = gzip.decompress(body)
                self._body = body
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 988 bytes
    - Viewed (0)
  2. docs/de/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Verarbeitet GZip-Responses für alle Requests, die `"gzip"` im `Accept-Encoding`-Header enthalten.
    
    Diese Middleware verarbeitet sowohl Standard- als auch Streaming-Responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. lib/fips140/fips140.sum

    # SHA256 checksums of snapshot zip files in this directory.
    # These checksums are included in the FIPS security policy
    # (validation instructions sent to the lab) and MUST NOT CHANGE.
    # That is, the zip files themselves must not change.
    #
    # It is okay to add new zip files to the list, and it is okay to
    # remove zip files from the list when they are removed from
    # this directory. To update this file:
    #
    #	go test cmd/go/internal/fips140 -update
    #
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 614 bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    // Writer implements a zip file writer.
    type Writer struct {
    	cw          *countWriter
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorJavaTest.java

     */
    package okhttp3.zstd;
    
    import okhttp3.CompressionInterceptor;
    import okhttp3.Gzip;
    import okhttp3.brotli.Brotli;
    import org.junit.jupiter.api.Test;
    
    class ZstdInterceptorJavaTest {
      @Test
      public void testConstructor() {
        CompressionInterceptor interceptor = new CompressionInterceptor(
          Zstd.INSTANCE,
          Gzip.INSTANCE,
          Brotli.INSTANCE
        );
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 969 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_advanced_middleware/test_tutorial003.py

    
    client = TestClient(app)
    
    
    def test_middleware():
        response = client.get("/large", headers={"accept-encoding": "gzip"})
        assert response.status_code == 200, response.text
        assert response.text == "x" * 4000
        assert response.headers["Content-Encoding"] == "gzip"
        assert int(response.headers["Content-Length"]) < 4000
        response = client.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 670 bytes
    - Viewed (0)
  7. module.xml

    			<param name="module.zip.version" value="${opensearch.version}" />
    		</antcall>
    
    		<antcall target="remove.jars" />
    	</target>
    
    	<target name="install.module">
    		<get dest="${target.dir}">
    			<url url="${repo.url}/${module.groupId}/${module.name.prefix}${module.name}/${module.version}/${module.name.prefix}${module.name}-${module.zip.version}.zip" />
    		</get>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 18 09:50:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. src/archive/zip/example_test.go

    // license that can be found in the LICENSE file.
    
    package zip_test
    
    import (
    	"archive/zip"
    	"bytes"
    	"compress/flate"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func ExampleWriter() {
    	// Create a buffer to write our archive to.
    	buf := new(bytes.Buffer)
    
    	// Create a new zip archive.
    	w := zip.NewWriter(buf)
    
    	// Add some files to the archive.
    	var files = []struct {
    		Name, Body string
    	}{
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Jan 27 00:22:03 UTC 2016
    - 2K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/x-foxmail",
    				"application/x-futuresplash",
    				"application/x-gnucash",
    				"application/x-gnumeric",
    				"application/x-gtar",
    				"application/gzip",
    				"application/x-hdf",
    				"application/x-hwp",
    				"application/x-ibooks+zip",
    				"application/x-iso9660-image",
    				"application/x-itunes-ipa",
    				"application/x-java-jnlp-file",
    				"application/x-java-pack200",
    				"application/x-kdelnk",
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 50.1K bytes
    - Viewed (0)
  10. .teamcity/performance-tests-ci.json

          "coverage" : {
            "per_commit" : [ "linux" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.corefeature.ArchiveTreePerformanceTest.visiting gzip tar trees",
        "groups" : [ {
          "testProject" : "archivePerformanceProject",
          "coverage" : {
            "per_day" : [ "linux" ]
          }
        } ]
      }, {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 25 10:54:09 UTC 2025
    - 32.8K bytes
    - Viewed (0)
Back to top