Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParseSignV4 (0.29 sec)

  1. cmd/signature-v4-parser_test.go

    				t.Errorf("Test %d: Expected the result to be \"%v\", but got \"%v\". ", i+1, testCase.expectedSignedHeaders, actualSignedHeaders)
    			}
    		}
    
    	}
    }
    
    // TestParseSignV4 - Tests Parsing of v4 signature form the authorization string.
    func TestParseSignV4(t *testing.T) {
    	sampleTimeStr := UTCNow().Format(yyyymmdd)
    	testCases := []struct {
    		inputV4AuthStr    string
    		expectedAuthField signValues
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top