Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTestRequest (0.17 sec)

  1. cmd/test-utils_test.go

    func getMD5HashBase64(data []byte) string {
    	return base64.StdEncoding.EncodeToString(getMD5Sum(data))
    }
    
    // Returns new HTTP request object.
    func newTestRequest(method, urlStr string, contentLength int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	// Save for subsequent use
    	var hashedPayload string
    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