Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClientInsecureTransport (0.27 sec)

  1. src/net/http/client_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if writes != 1 {
    		t.Errorf("Post request did %d Write calls, want 1", writes)
    	}
    }
    
    func TestClientInsecureTransport(t *testing.T) {
    	run(t, testClientInsecureTransport, []testMode{https1Mode, http2Mode})
    }
    func testClientInsecureTransport(t *testing.T, mode testMode) {
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		w.Write([]byte("Hello"))
    	}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top