aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.go1
-rw-r--r--response.go3
2 files changed, 0 insertions, 4 deletions
diff --git a/client.go b/client.go
index 2dc2ccc..ca964d0 100644
--- a/client.go
+++ b/client.go
@@ -88,7 +88,6 @@ func (c *Client) Do(req *Request) (*Response, error) {
if err := resp.read(conn); err != nil {
return nil, err
}
- resp.Request = req
// Store connection state
resp.TLS = conn.ConnectionState()
diff --git a/response.go b/response.go
index 8f24419..447050d 100644
--- a/response.go
+++ b/response.go
@@ -21,9 +21,6 @@ type Response struct {
// Body contains the response body for successful responses.
Body io.ReadCloser
- // Request is the request that was sent to obtain this response.
- Request *Request
-
// TLS contains information about the TLS connection on which the response
// was received.
TLS tls.ConnectionState