Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for contentEncoding (0.09 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/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "ContentType")
    				return
    			}
    		case "ContentEncoding":
    			z.ContentEncoding, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ContentEncoding")
    				return
    			}
    		case "Expires":
    			z.Expires, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 71.7K bytes
    - Click Count (0)
  9. cmd/bucket-replication.go

    	if oi1.ContentType != oi2.ContentType {
    		return replicateMetadata
    	}
    
    	if oi1.ContentEncoding != "" {
    		enc, ok := oi2.Metadata[xhttp.ContentEncoding]
    		if !ok {
    			enc, ok = oi2.Metadata[strings.ToLower(xhttp.ContentEncoding)]
    			if !ok {
    				return replicateMetadata
    			}
    		}
    		if strings.Join(enc, ",") != oi1.ContentEncoding {
    			return replicateMetadata
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  10. cmd/object-handlers_test.go

    			}
    			if objInfo.ContentEncoding == streamingContentEncoding {
    				t.Fatalf("Test %d: %s: ContentEncoding is set to \"aws-chunked\" which is unexpected", i+1, instanceType)
    			}
    			expectedContentEncoding := trimAwsChunkedContentEncoding(testCase.contentEncoding)
    			if expectedContentEncoding != objInfo.ContentEncoding {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
Back to Top