newRequestHost a new request with a method, url, and host header
(method, url, host string)
| 3011 | |
| 3012 | // newRequestHost a new request with a method, url, and host header |
| 3013 | func newRequestHost(method, url, host string) *http.Request { |
| 3014 | req := httptest.NewRequest(method, url, nil) |
| 3015 | req.Host = host |
| 3016 | return req |
| 3017 | } |
no outgoing calls
no test coverage detected