Change the extractRT to return a non-nil Response.

This commit is contained in:
CJ Cullen
2016-03-24 12:58:38 -07:00
parent 26eab4d69c
commit 4c188eae10

View File

@@ -3235,7 +3235,7 @@ type extractRT struct {
func (rt *extractRT) RoundTrip(req *http.Request) (*http.Response, error) {
rt.Header = req.Header
return nil, nil
return &http.Response{}, nil
}
// headersForConfig extracts any http client logic necessary for the provided