Use HTTP/1.0, fix #332

This commit is contained in:
Sandro Jäckel 2021-05-11 11:47:10 +02:00
parent 11a583b003
commit 9a44eeb826
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -2105,7 +2105,7 @@ sub fetch_via_socket_io {
} else {
$request .= "https://$server" if defined($proxy);
}
$request .= "/$url HTTP/1.0\n";
$request .= "/$url HTTP/1.1\n";
$request .= "Host: $server\n";
if (defined($login) || defined($password)) {