Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRemoveSensitiveHeaders (0.22 sec)

  1. internal/crypto/header_test.go

    			"X-Amz-Meta-Test-1":                           []string{"Test-1"},
    		},
    		ExpectedHeader: http.Header{
    			"X-Amz-Meta-Test-1": []string{"Test-1"},
    		},
    	},
    }
    
    func TestRemoveSensitiveHeaders(t *testing.T) {
    	isEqual := func(x, y http.Header) bool {
    		if len(x) != len(y) {
    			return false
    		}
    		for k, v := range x {
    			u, ok := y[k]
    			if !ok || len(v) != len(u) {
    				return false
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top