summaryrefslogtreecommitdiff
path: root/src/PSR7Client.php
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-10-13 11:02:03 +0300
committerWolfy-J <[email protected]>2018-10-13 11:02:03 +0300
commit45531ae427ac4120991d2f0ddc79b8b776a07b37 (patch)
treeace79f46bc46252337b2a663e0c38990b22c4797 /src/PSR7Client.php
parent1166830f80b2f86acdc75c789a1996a021442441 (diff)
pre-release activitiesv1.2.5
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']));