forked from premiere/premiere-libtorrent
added space after Host: http header
This commit is contained in:
parent
aeee715dd6
commit
a54c3fc0e7
|
@ -100,7 +100,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
headers << "GET " << path << " HTTP/1.0\r\n"
|
headers << "GET " << path << " HTTP/1.0\r\n"
|
||||||
"Host:" << hostname << ":" << port << "\r\n";
|
"Host: " << hostname << ":" << port << "\r\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!auth.empty())
|
if (!auth.empty())
|
||||||
|
|
Loading…
Reference in New Issue