From a54c3fc0e70746032287eac1f750b14e7ad51b7c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 4 Dec 2008 21:44:21 +0000 Subject: [PATCH] added space after Host: http header --- src/http_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_connection.cpp b/src/http_connection.cpp index 962c2f540..2b4eefbed 100644 --- a/src/http_connection.cpp +++ b/src/http_connection.cpp @@ -100,7 +100,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri else { headers << "GET " << path << " HTTP/1.0\r\n" - "Host:" << hostname << ":" << port << "\r\n"; + "Host: " << hostname << ":" << port << "\r\n"; } if (!auth.empty())