- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHeadResponses (0.28 sec)
-
src/net/http/serve_test.go
t.Fatalf("response 1 addr = %q; want %q", g, e) } } // TestHeadResponses verifies that all MIME type sniffing and Content-Length // counting of GET requests also happens on HEAD requests. func TestHeadResponses(t *testing.T) { run(t, testHeadResponses) } func testHeadResponses(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)