From b6c0ba24cf5902e6bafff4243979bb12010aa142 Mon Sep 17 00:00:00 2001 From: tjp Date: Wed, 10 Jan 2024 11:06:53 -0700 Subject: add a *Request to Response --- finger/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'finger') diff --git a/finger/client.go b/finger/client.go index bd1e3bf..0488b79 100644 --- a/finger/client.go +++ b/finger/client.go @@ -51,7 +51,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 resolves a finger query. -- cgit v1.2.3