Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Fontan (0.14 sec)

  1. cmd/generic-handlers_test.go

    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    var sseTLSHandlerTests = []struct {
    	URL               *url.URL
    	Header            http.Header
    	IsTLS, ShouldFail bool
    }{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objectName2 := "testObject2"
    	// Unlike the actual PUT object request, the request to Copy Object doesn't contain request body,
    	// empty body with the "X-Amz-Copy-Source" header pointing to the object to copies it in the backend.
    	request, err = newTestRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName2), 0, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		Description:    "All access to this resource has been disabled.",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrPolicyInvalidVersion: {
    		Code:           "MalformedPolicy",
    		Description:    "The policy must contain a valid version string",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingFields: {
    		Code:           "MissingFields",
    		Description:    "Missing fields in request.",
    		HTTPStatusCode: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/object-handlers.go

    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		srcInfo.UserDefined[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(srcInfo.UserDefined)
    
    	// If we see legacy source, metadataOnly we have to overwrite the content.
    	if srcInfo.Legacy {
    		srcInfo.metadataOnly = false
    	}
    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)
  5. cmd/object-multipart-handlers.go

    	// so we do not want to override them, copy them instead.
    	for k, v := range encMetadata {
    		metadata[k] = v
    	}
    
    	// Ensure that metadata does not contain sensitive information
    	crypto.RemoveSensitiveEntries(metadata)
    
    	if isCompressible(r.Header, object) {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/metacache-entries.go

    // metaCacheEntriesSorted contains metacache entries that are sorted.
    type metaCacheEntriesSorted struct {
    	o metaCacheEntries
    	// list id is not serialized
    	listID string
    	// Reuse buffers
    	reuse bool
    	// Contain the last skipped object after an ILM expiry evaluation
    	lastSkippedEntry string
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/leak-detect_test.go

    		sl := strings.SplitN(g, "\n", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    		// ignore the testing go routine.
    		// since the tests will be invoking the leaktest it would contain the test go routine.
    		if strings.HasPrefix(stack, "testing.RunTests") {
    			continue
    		}
    		// Ignore the following go routines.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils_test.go

    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    	// case where the headers don't contain the one of the signed header in the signed headers list.
    	signedHeaders = append(signedHeaders, "X-Amz-Credential")
    	// expected to fail with `ErrUnsignedHeaders`.
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	if rec.Code != accessDenied {
    		t.Fatal(failTestStr(anonTestStr, fmt.Sprintf("Object API Nil Test expected to fail with %d, but failed with %d", accessDenied, rec.Code)))
    	}
    
    	// HEAD HTTTP request doesn't contain response body.
    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		var actualContent []byte
    		actualContent, err = io.ReadAll(rec.Body)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top