- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCGIBasicGetAbsPath (0.2 sec)
-
src/net/http/cgi/host_test.go
req := newRequest("GET /test.cgi?foo=bar&a=b HTTP/1.0\nHost: example.com\n\n") req.RemoteAddr = "[2000::3000]:12345" h.ServeHTTP(rw, req) runResponseChecks(t, rw, expectedMap) } func TestCGIBasicGetAbsPath(t *testing.T) { absPath, err := filepath.Abs(os.Args[0]) if err != nil { t.Fatal(err) } testenv.MustHaveExec(t) h := &Handler{ Path: absPath, Root: "/test.cgi", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0)