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 --- spartan/client.go | 1 + 1 file changed, 1 insertion(+) (limited to 'spartan') diff --git a/spartan/client.go b/spartan/client.go index affcf95..81f2132 100644 --- a/spartan/client.go +++ b/spartan/client.go @@ -82,6 +82,7 @@ func (c Client) RoundTrip(request *types.Request) (*types.Response, error) { return nil, err } response.Body = bytes.NewBuffer(bodybuf) + response.Request = request return response, nil } -- cgit v1.2.3