diff options
Diffstat (limited to 'gopher/client.go')
-rw-r--r-- | gopher/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gopher/client.go b/gopher/client.go index a5c4228..0ae1730 100644 --- a/gopher/client.go +++ b/gopher/client.go @@ -52,7 +52,7 @@ func (c Client) RoundTrip(request *types.Request) (*types.Response, error) { return nil, err } - return &types.Response{Body: bytes.NewBuffer(response)}, nil + return &types.Response{Body: bytes.NewBuffer(response), Request: request}, nil } // Fetch parses a URL string and fetches the gopher resource. |