- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGetScheme (0.09 sec)
-
internal/handlers/proxy_test.go
package handlers import ( "net/http" "testing" ) type headerTest struct { key string // header key val string // header val expected string // expected result } func TestGetScheme(t *testing.T) { headers := []headerTest{ {xForwardedProto, "https", "https"}, {xForwardedProto, "http", "http"}, {xForwardedProto, "HTTP", "http"}, {xForwardedScheme, "https", "https"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0)