Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isRequestPresignedSignatureV4 (0.24 sec)

  1. cmd/auth-handler.go

    	return (!strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV4Algorithm) &&
    		strings.HasPrefix(r.Header.Get(xhttp.Authorization), signV2Algorithm))
    }
    
    // Verify if request has AWS PreSign Version '4'.
    func isRequestPresignedSignatureV4(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzCredential]
    	return ok
    }
    
    // Verify request has AWS PreSign Version '2'.
    func isRequestPresignedSignatureV2(r *http.Request) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top