- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDropProxyHeader (0.12 sec)
-
src/net/http/cgi/host_test.go
} // Issue 16405: CGI+http.Transport differing uses of HTTP_PROXY. // Verify we don't set the HTTP_PROXY environment variable. // Hope nobody was depending on it. It's not a known header, though. func TestDropProxyHeader(t *testing.T) { testenv.MustHaveExec(t) h := &Handler{ Path: os.Args[0], } expectedMap := map[string]string{ "env-REQUEST_URI": "/myscript/bar?a=b", "env-SCRIPT_FILENAME": os.Args[0],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0)