Merge pull request #333 from ddclient/332-http11
Use HTTP/1.0, fix #332
This commit is contained in:
commit
74cb987805
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue