add response.Request in the http client

This commit is contained in:
tjp 2024-01-15 13:41:09 -07:00
parent 751f423f11
commit e111dae3f8
1 changed files with 4 additions and 3 deletions

View File

@ -141,9 +141,10 @@ func (hc httpClient) RoundTrip(ctx context.Context, request *Request) (*Response
}
return &Response{
Status: Status(hresp.StatusCode),
Meta: hresp,
Body: hresp.Body,
Status: Status(hresp.StatusCode),
Meta: hresp,
Body: hresp.Body,
Request: request,
}, nil
}