Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for HashedPayload (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/signature-v4.go

    //
    // canonicalRequest =
    //
    //	<HTTPMethod>\n
    //	<CanonicalURI>\n
    //	<CanonicalQueryString>\n
    //	<CanonicalHeaders>\n
    //	<SignedHeaders>\n
    //	<HashedPayload>
    func getCanonicalRequest(extractedSignedHeaders http.Header, payload, queryStr, urlPath, method string) string {
    	rawQuery := strings.ReplaceAll(queryStr, "+", "%20")
    	encodedPath := s3utils.EncodePath(urlPath)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. cmd/test-utils_test.go

    		method = http.MethodPost
    	}
    
    	// Save for subsequent use
    	var hashedPayload string
    	var md5Base64 string
    	switch body {
    	case nil:
    		hashedPayload = getSHA256Hash([]byte{})
    	default:
    		payloadBytes, err := io.ReadAll(body)
    		if err != nil {
    			return nil, err
    		}
    		hashedPayload = getSHA256Hash(payloadBytes)
    		md5Base64 = getMD5HashBase64(payloadBytes)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
Back to Top