From e8901368d72f4b196842d62652814dc23b9014e8 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sun, 26 Nov 2017 15:15:03 +0100 Subject: [PATCH] update http connect test --- testing/scenarios/http_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/scenarios/http_test.go b/testing/scenarios/http_test.go index 64675143..d0033def 100644 --- a/testing/scenarios/http_test.go +++ b/testing/scenarios/http_test.go @@ -125,6 +125,8 @@ func TestHttpConnectMethod(t *testing.T) { payload := make([]byte, 1024*64) common.Must2(rand.Read(payload)) req, err := http.NewRequest("Connect", "http://"+dest.NetAddr()+"/", bytes.NewReader(payload)) + req.Header.Set("X-a", "b") + req.Header.Set("X-b", "d") common.Must(err) resp, err := client.Do(req)