- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHandlerSetsBodyNil (0.17 sec)
-
src/net/http/serve_test.go
if afterHandlerLen != inHandlerLen { t.Errorf("unexpected implicit read. Read buffer went from %d -> %d", inHandlerLen, afterHandlerLen) } } func TestHandlerSetsBodyNil(t *testing.T) { run(t, testHandlerSetsBodyNil) } func testHandlerSetsBodyNil(t *testing.T, mode testMode) { cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { r.Body = nil fmt.Fprintf(w, "%v", r.RemoteAddr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)