Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for streamingContentSHA256 (0.12 sec)

  1. cmd/auth-handler_test.go

    					Scheme: httpScheme,
    					Path:   SlashSeparator,
    				},
    				Header: http.Header{
    					"Authorization":        []string{"AWS4-HMAC-SHA256 <cred_string>"},
    					"X-Amz-Content-Sha256": []string{streamingContentSHA256},
    					"Content-Encoding":     []string{streamingContentEncoding},
    				},
    				Method: http.MethodPut,
    				Body:   nopCloser,
    			},
    			authT: authTypeStreamingSigned,
    		},
    		// Test case - 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(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