Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConnectRequest (0.23 sec)

  1. src/net/http/clientserver_test.go

    	defer res.Body.Close()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if string(data) != resBody {
    		t.Errorf("read %q; want %q", data, resBody)
    	}
    }
    
    func TestConnectRequest(t *testing.T) { run(t, testConnectRequest) }
    func testConnectRequest(t *testing.T, mode testMode) {
    	gotc := make(chan *Request, 1)
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		gotc <- r
    	}))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top