Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addCustomHeaders (0.18 sec)

  1. cmd/object-handlers_test.go

    	copySourceHeader := map[string]string{"X-Amz-Copy-Source": "somewhere"}
    	invalidMD5Header := map[string]string{"Content-Md5": "42"}
    	invalidStorageClassHeader := map[string]string{xhttp.AmzStorageClass: "INVALID"}
    
    	addCustomHeaders := func(req *http.Request, customHeaders map[string]string) {
    		for k, value := range customHeaders {
    			req.Header.Set(k, value)
    		}
    	}
    
    	checksumData := func(b []byte, h hash.Hash) string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top