Skip to content

Commit

Permalink
Fix socket driver http version
Browse files Browse the repository at this point in the history
  • Loading branch information
SniperSister committed Mar 11, 2024
1 parent 49f392d commit 2668f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Http/Transport/SocketTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function request($method, UriInterface $uri, $data = null, array $headers

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

// If an explicit user agent is given use it.
Expand Down

0 comments on commit 2668f90

Please sign in to comment.