(resp *http.Response)
| 389 | } |
| 390 | |
| 391 | func isRedirect(resp *http.Response) bool { |
| 392 | return resp.StatusCode > 299 && resp.StatusCode < 400 |
| 393 | } |
| 394 | |
| 395 | func newRequest(method string, url *url.URL, body string) *http.Request { |
| 396 | req, err := http.NewRequest(method, url.String(), createBody(body)) |
no outgoing calls
no test coverage detected