(p *reverseProxy, duration time.Duration)
| 1140 | func makeRequest(p *reverseProxy) *http.Response { return makeHeavyRequest(p, time.Duration(0)) } |
| 1141 | |
| 1142 | func makeHeavyRequest(p *reverseProxy, duration time.Duration) *http.Response { |
| 1143 | body := bytes.NewBufferString(duration.String()) |
| 1144 | req := httptest.NewRequest("POST", fakeServer.URL, body) |
| 1145 | return makeCustomRequest(p, req) |
| 1146 | } |
| 1147 | |
| 1148 | type testCloseNotifier struct { |
| 1149 | http.ResponseWriter |
no test coverage detected