summaryrefslogtreecommitdiff
path: root/src/PSR7Client.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PSR7Client.php')
-rw-r--r--src/PSR7Client.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PSR7Client.php b/src/PSR7Client.php
index 494342fa..1ce5baed 100644
--- a/src/PSR7Client.php
+++ b/src/PSR7Client.php
@@ -84,6 +84,7 @@ class PSR7Client
parse_str($ctx['rawQuery'], $query);
$request = $request
+ ->withProtocolVersion(substr($ctx['protocol'], 5))
->withCookieParams($ctx['cookies'])
->withQueryParams($query)
->withUploadedFiles($this->wrapUploads($ctx['uploads']));