Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 149 for GZIP (0.02 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertEquals("100", response.getHeaderValue("content-length"));
            assertEquals("100", response.getHeaderValue("CONTENT-LENGTH"));
    
            assertEquals("gzip", response.getHeaderValue("Accept-Encoding"));
            assertEquals("gzip", response.getHeaderValue("ACCEPT-ENCODING"));
        }
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. docs_src/advanced_middleware/tutorial003_py39.py

    from fastapi import FastAPI
    from fastapi.middleware.gzip import GZipMiddleware
    
    app = FastAPI()
    
    app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
    
    
    @app.get("/")
    async def main():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 230 bytes
    - Click Count (0)
  3. docs/en/docs/how-to/custom-request-and-route.md

    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    And an `APIRoute` subclass to use that custom request class.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. docs/select/README.md

    - UTF-8 is the only encoding type the Select API supports.
    - GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP, BZIP2, [ZSTD](https://facebook.github.io/zstd/), and streaming formats of [LZ4](https://lz4.github.io/lz4/), [S2](https://github.com/klauspost/compress/tree/master/s2#s2-compression) and [SNAPPY](http://google.github.io/snappy/).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

    import okio.BufferedSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
     * a specific "Accept-Encoding: identity" or similar.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
  7. cmd/kms-router.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	kmsPathPrefix       = minioReservedBucketPath + "/kms"
    	kmsAPIVersion       = "v1"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Call gzip() and verify it sets compression
            request.gzip();
    
            // We can't directly access compression field, but we can verify the method returns this
            assertSame(request, request.gzip());
        }
    
        @Test
        public void testMultipleCompressionCalls() {
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Mon Nov 24 03:10:07 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  9. src/test/resources/jcifs/smb1/util/mime.map

    application/x-director         dcr              # Director File
    application/x-dvi              dvi              # TeX dvi Format
    application/x-gtar             gtar             # Gzip and Tar file
    application/x-gzip             gz tgz           # Gzip and Tar file
    application/x-compress         z                # Gzip and Tar file
    application/x-hdf              hdf              # NCSA HDF
    application/x-ica              ica              # WinFrames
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. docs/select/select.py

        Expression="select * from s3object s where s.Location like '%United States%'",
        InputSerialization={
            'CSV': {
                "FileHeaderInfo": "USE",
            },
            'CompressionType': 'GZIP',
        },
        OutputSerialization={'CSV': {}},
    )
    
    for event in r['Payload']:
        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Aug 18 00:11:39 GMT 2018
    - 1K bytes
    - Click Count (1)
Back to Top