- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestReverseProxyFlushIntervalHeaders (0.38 sec)
-
src/net/http/httputil/reverseproxy_test.go
t.Errorf("got body %q; expected %q", bodyBytes, expected) } if !mf.flushed { t.Errorf("response writer was not flushed") } } func TestReverseProxyFlushIntervalHeaders(t *testing.T) { const expected = "hi" stopCh := make(chan struct{}) backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.Header().Add("MyHeader", expected)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 54.6K bytes - Viewed (0)