Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for accept (0.13 sec)

  1. cmd/server_test.go

    }
    
    func (s *TestSuiteCommon) TestCors(c *check) {
    	expectedMap := http.Header{}
    	expectedMap.Set("Access-Control-Allow-Credentials", "true")
    	expectedMap.Set("Access-Control-Allow-Origin", "http://foobar.com")
    	expectedMap["Access-Control-Expose-Headers"] = []string{
    		"Date",
    		"Etag",
    		"Server",
    		"Connection",
    		"Accept-Ranges",
    		"Content-Range",
    		"Content-Encoding",
    		"Content-Length",
    		"Content-Type",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    				BucketName:      bucket,
    				ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    		data       []byte
    		dataLen    int
    		chunkSize  int64
    		// expected output.
    		expectedContent    []byte // expected response body.
    		expectedRespStatus int    // expected response status body.
    		// Access keys
    		accessKey        string
    		secretKey        string
    		shouldPass       bool
    		removeAuthHeader bool
    		fault            streamFault
    		// Custom content encoding.
    		contentEncoding string
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top