Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateV2AuthHeader (0.3 sec)

  1. cmd/signature-v2_test.go

    			req := &http.Request{
    				Header: make(http.Header),
    				URL:    &url.URL{},
    			}
    			req.Header.Set("Authorization", testCase.authString)
    			_, actualErrCode := validateV2AuthHeader(req)
    
    			if testCase.expectedError != actualErrCode {
    				t.Errorf("Expected the error code to be %v, got %v.", testCase.expectedError, actualErrCode)
    			}
    		})
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top