Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHTTP10ConnectionHeader (0.19 sec)

  1. src/net/http/serve_test.go

    // not sending Connection: close is just a minor wire
    // optimization and is pointless if dealing with a
    // badly behaved client.
    func TestHTTP10ConnectionHeader(t *testing.T) {
    	run(t, testHTTP10ConnectionHeader, []testMode{http1Mode})
    }
    func testHTTP10ConnectionHeader(t *testing.T, mode testMode) {
    	mux := NewServeMux()
    	mux.Handle("/", HandlerFunc(func(ResponseWriter, *Request) {}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top