(t *testing.T, method, uri, headerKey, headerVal string)
| 487 | } |
| 488 | |
| 489 | func newRequestWithHeader(t *testing.T, method, uri, headerKey, headerVal string) *http.Request { |
| 490 | req := newRequest(t, method, uri) |
| 491 | req.Header.Set(headerKey, headerVal) |
| 492 | return req |
| 493 | } |
| 494 | |
| 495 | // reqEqual if r1 and r2 are equal enough for our purposes. |
| 496 | func reqEqual(r1, r2 *http.Request) bool { |
no test coverage detected