Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for contentEncoding (0.07 seconds)

  1. cmd/handler-utils.go

    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			delete(metadata, k)
    		}
    	}
    
    	if contentEncoding, ok := metadata[strings.ToLower(xhttp.ContentEncoding)]; ok {
    		contentEncoding = trimAwsChunkedContentEncoding(contentEncoding)
    		if contentEncoding != "" {
    			// Make sure to trim and save the content-encoding
    			// parameter for a streaming signature which is set
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            val identityBody =
              body
                ?: throw IllegalStateException("cannot gzip a request that has no body")
    
            val contentEncoding = headers["Content-Encoding"]
            check(contentEncoding == null) {
              "Content-Encoding already set: $contentEncoding"
            }
    
            headers.add("Content-Encoding", "gzip")
            body = GzipRequestBody(identityBody)
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 14.7K bytes
    - Click Count (1)
  3. cmd/object-api-datatypes.go

    		TransitionedObject:         o.TransitionedObject,
    		RestoreExpires:             o.RestoreExpires,
    		RestoreOngoing:             o.RestoreOngoing,
    		ContentType:                o.ContentType,
    		ContentEncoding:            o.ContentEncoding,
    		Expires:                    o.Expires,
    		StorageClass:               o.StorageClass,
    		ReplicationStatus:          o.ReplicationStatus,
    		UserTags:                   o.UserTags,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          logger.log(headers.name(i) + ": " + value)
        }
    
        private fun bodyHasUnknownEncoding(headers: Headers): Boolean {
          val contentEncoding = headers["Content-Encoding"] ?: return false
          return !contentEncoding.equals("identity", ignoreCase = true) &&
            !contentEncoding.equals("gzip", ignoreCase = true)
        }
    
        private fun bodyIsStreaming(response: Response): Boolean {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. internal/http/headers.go

    const (
    	LastModified       = "Last-Modified"
    	Date               = "Date"
    	ETag               = "ETag"
    	ContentType        = "Content-Type"
    	ContentMD5         = "Content-Md5"
    	ContentEncoding    = "Content-Encoding"
    	Expires            = "Expires"
    	ContentLength      = "Content-Length"
    	ContentLanguage    = "Content-Language"
    	ContentRange       = "Content-Range"
    	Connection         = "Connection"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. fastapi/_compat/v2.py

                self._config.ser_json_bytes
                if self.mode == "serialization"
                else self._config.val_json_bytes
            )
            if bytes_mode == "base64":
                json_schema["contentEncoding"] = "base64"
            self.update_with_validations(json_schema, schema, self.ValidationsMapping.bytes)
            return json_schema
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    _Attrs = {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  7. fastapi/openapi/models.py

        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-the-conten
        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: str | None = None
        contentMediaType: str | None = None
        contentSchema: Optional["SchemaOrBool"] = None
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  8. cmd/erasure-metadata.go

    		IsLatest:         fi.IsLatest,
    		DeleteMarker:     fi.Deleted,
    		Size:             fi.Size,
    		ModTime:          fi.ModTime,
    		Legacy:           fi.XLV1,
    		ContentType:      fi.Metadata["content-type"],
    		ContentEncoding:  fi.Metadata["content-encoding"],
    		NumVersions:      fi.NumVersions,
    		SuccessorModTime: fi.SuccessorModTime,
    		CacheControl:     fi.Metadata["cache-control"],
    	}
    
    	if exp, ok := fi.Metadata["expires"]; ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  9. cmd/postpolicyform_test.go

    		},
    		{
    			name:    "unknown key Content-Encoding is error as it does not appear in policy",
    			fv:      defaultFormVals.Clone().Set(http.CanonicalHeaderKey(xhttp.ContentEncoding), "encoding-val"),
    			wantErr: `Each form field that you specify in a form must appear in the list of policy conditions. "Content-Encoding" not specified in the policy.`,
    		},
    		{
    			name:    "many bucket values",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. cmd/api-router.go

    func corsHandler(handler http.Handler) http.Handler {
    	commonS3Headers := []string{
    		xhttp.Date,
    		xhttp.ETag,
    		xhttp.ServerInfo,
    		xhttp.Connection,
    		xhttp.AcceptRanges,
    		xhttp.ContentRange,
    		xhttp.ContentEncoding,
    		xhttp.ContentLength,
    		xhttp.ContentType,
    		xhttp.ContentDisposition,
    		xhttp.LastModified,
    		xhttp.ContentLanguage,
    		xhttp.CacheControl,
    		xhttp.RetryAfter,
    		xhttp.AmzBucketRegion,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
Back to Top