Skip to content

Commit 069d858

Browse files
authored
[4.x] Fix JHTTP socket transport http version (#43001)
* Fix socket driver http version * updated jhttp to patched version
1 parent 49f392d commit 069d858

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"joomla/event": "^2.0.2",
5656
"joomla/filter": "^2.0.4",
5757
"joomla/filesystem": "^2.0.2",
58-
"joomla/http": "^2.0.2",
58+
"joomla/http": "^2.0.4",
5959
"joomla/input": "^2.0.4",
6060
"joomla/ldap": "~2.0.0",
6161
"joomla/oauth1": "^2.0.2",

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libraries/src/Http/Transport/SocketTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function request($method, UriInterface $uri, $data = null, array $headers
8686

8787
// Build the request payload.
8888
$request = [];
89-
$request[] = strtoupper($method) . ' ' . ((empty($path)) ? '/' : $path) . ' HTTP/1.1';
89+
$request[] = strtoupper($method) . ' ' . ((empty($path)) ? '/' : $path) . ' HTTP/1.0';
9090
$request[] = 'Host: ' . $uri->getHost();
9191

9292
// If an explicit user agent is given use it.

0 commit comments

Comments
 (0)