Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for signStreamingRequest (0.14 sec)

  1. cmd/test-utils_test.go

    	newReq.Body = io.NopCloser(
    		bytes.NewReader(bytes.Join([][]byte{newChunkHdr, newChunk},
    			[]byte(""))),
    	)
    
    	return newReq, nil
    }
    
    // Sign given request using Signature V4.
    func signStreamingRequest(req *http.Request, accessKey, secretKey string, currTime time.Time) (string, error) {
    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top