(req *http.Request)
| 1698 | type roundTripper func(req *http.Request) (*http.Response, error) |
| 1699 | |
| 1700 | func (r roundTripper) RoundTrip(req *http.Request) (*http.Response, error) { |
| 1701 | return r(req) |
| 1702 | } |
| 1703 | |
| 1704 | // HeaderTransport creates a new transport that executes `--header-command` |
| 1705 | // if it is set to add headers for all outbound requests. |
no outgoing calls