Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 455 for Content (0.2 sec)

  1. cmd/api-response.go

    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = object.StorageClass
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		content.Owner = owner
    		contents = append(contents, content)
    	}
    	data.Name = bucket
    	data.Contents = contents
    
    	data.EncodingType = encodingType
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  2. cmd/handler-utils.go

    	return globalSite.Region == "" || globalSite.Region == location
    }
    
    // Supported headers that needs to be extracted.
    var supportedHeaders = []string{
    	"content-type",
    	"cache-control",
    	"content-language",
    	"content-encoding",
    	"content-disposition",
    	"x-amz-storage-class",
    	xhttp.AmzStorageClass,
    	xhttp.AmzObjectTagging,
    	"expires",
    	xhttp.AmzBucketReplicationStatus,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  3. cmd/auth-handler_test.go

    		// Empty Content-Md5 header.
    		{mustNewSignedEmptyMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// Short Content-Md5 header.
    		{mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// When request is properly signed, but has bad Content-MD5 header.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/object-api-listobjects_test.go

    		{testBuckets[5], "201910/foo/bar/xl.meta/1.txt", "content", nil},
    		{testBuckets[6], "aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "bbb_aaa", "content", nil},
    		{testBuckets[6], "ccc", "content", nil},
    	}
    	for _, object := range testObjects {
    		md5Bytes := md5.Sum([]byte(object.content))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/signature-v2.go

    	"legal-hold",
    	"lifecycle",
    	"location",
    	"logging",
    	"notification",
    	"partNumber",
    	"policy",
    	"requestPayment",
    	"response-cache-control",
    	"response-content-disposition",
    	"response-content-encoding",
    	"response-content-language",
    	"response-content-type",
    	"response-expires",
    	"retention",
    	"select",
    	"select-type",
    	"tagging",
    	"torrent",
    	"uploadId",
    	"uploads",
    	"versionId",
    	"versioning",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. docs/metrics/healthcheck/README.md

    The reply is '200 OK' if cluster has write quorum if not it returns '503 Service Unavailable'.
    
    ```
    curl http://minio1:9001/minio/health/cluster
    HTTP/1.1 503 Service Unavailable
    Accept-Ranges: bytes
    Content-Length: 0
    Server: MinIO
    Vary: Origin
    X-Amz-Bucket-Region: us-east-1
    X-Minio-Write-Quorum: 3
    X-Amz-Request-Id: 16239D6AB80EBECF
    X-Xss-Protection: 1; mode=block
    Date: Tue, 21 Jul 2020 00:36:14 GMT
    ```
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jul 06 16:18:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    	contentLengthCondStr := `["content-length-range", 1024, 1048576]`
    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    	default:
    		return crypto.ObjectKey{}, fmt.Errorf("encryption type '%v' not supported", kind)
    	}
    }
    
    func newEncryptReader(ctx context.Context, content io.Reader, kind crypto.Type, keyID string, key []byte, bucket, object string, metadata map[string]string, cryptoCtx kms.Context) (io.Reader, crypto.ObjectKey, error) {
    	objectEncryptionKey, err := newEncryptMetadata(ctx, kind, keyID, key, bucket, object, metadata, cryptoCtx)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  9. cmd/object-api-deleteobject_test.go

    		err := obj.MakeBucket(context.Background(), testCase.bucketName, MakeBucketOptions{})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err.Error())
    		}
    
    		for _, object := range testCase.objectToUploads {
    			md5Bytes := md5.Sum([]byte(object.content))
    			oi, err := obj.PutObject(context.Background(), testCase.bucketName, object.name, mustGetPutObjReader(t, strings.NewReader(object.content),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. docs/iam/identity-management-plugin.md

    ### Response
    
    If the token is valid and access is approved, the plugin must return a `200` (OK) HTTP status code.
    
    A `200 OK` Response should have `application/json` content-type and body with the following structure:
    
    ```json
    {
        "user": <string>,
        "maxValiditySeconds": <integer>,
        "claims": <key-value-pairs>
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
Back to top