(req *http.Request)
| 210 | } |
| 211 | |
| 212 | func (tr funcTripper) RoundTrip(req *http.Request) (*http.Response, error) { |
| 213 | return tr.roundTrip(req) |
| 214 | } |
| 215 | |
| 216 | // getHostname returns the hostname the request is addressed to, preferring an |
| 217 | // explicit Host override and falling back to the URL host. Any port in the host |
no outgoing calls
no test coverage detected