Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for signRequestV2 (0.11 sec)

  1. cmd/server_test.go

    		int64(buffer1.Len()), buffer1, s.accessKey, s.secretKey, s.signer)
    	request.Header.Set("Content-Type", "application/json")
    	if s.signer == signerV2 {
    		c.Assert(err, nil)
    		err = signRequestV2(request, s.accessKey, s.secretKey)
    	}
    	c.Assert(err, nil)
    	// execute the HTTP request for object upload.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		if testCase.metadataCopy {
    			reqV2.Header.Set("X-Amz-Metadata-Directive", "COPY")
    		}
    		if testCase.metadataGarbage {
    			reqV2.Header.Set("X-Amz-Metadata-Directive", "Unknown")
    		}
    
    		err = signRequestV2(reqV2, testCase.accessKey, testCase.secretKey)
    		if err != nil {
    			t.Fatalf("Failed to V2 Sign the HTTP request: %v.", err)
    		}
    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