aboutsummaryrefslogtreecommitdiffstats
path: root/lib/plum/client/client_session.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plum/client/client_session.rb')
-rw-r--r--lib/plum/client/client_session.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plum/client/client_session.rb b/lib/plum/client/client_session.rb
index 0c7e366..f21d2a6 100644
--- a/lib/plum/client/client_session.rb
+++ b/lib/plum/client/client_session.rb
@@ -42,7 +42,7 @@ module Plum
":scheme" => @config[:https] ? "https" : "http",
}.merge(headers)
- response = Response.new(**options, &headers_cb)
+ response = Response.new(self, **options, &headers_cb)
@responses << response
stream = @plum.open_stream
stream.send_headers(headers, end_stream: !body)