Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for signStreamingRequest (0.6 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 == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top