diff --git a/src/HttpRequest.cpp b/src/HttpRequest.cpp index 94e307d..c469e04 100644 --- a/src/HttpRequest.cpp +++ b/src/HttpRequest.cpp @@ -142,7 +142,7 @@ namespace fr //Add in required headers if they're missing if(header_data.find("Connection") == header_data.end()) - request += "Connection: keep-alive\n"; + request += "Connection: keep-alive\r\n"; if(header_data.find("Host") == header_data.end()) request += "Host: " + host + "\r\n"; if(!body.empty())