X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/b92547a5de3a3fb4f14a2bea4a4e776b8da3cb5c..d3ea2ff01c51df0df95cd23157267048e2c2fdcd:/Server/src/httprequest.cpp?ds=sidebyside diff --git a/Server/src/httprequest.cpp b/Server/src/httprequest.cpp index 2fb8661..ce9c5ab 100644 --- a/Server/src/httprequest.cpp +++ b/Server/src/httprequest.cpp @@ -155,7 +155,7 @@ ostream& operator<<(ostream& os, const HTTPRequest& req) { os << "?" << req.query; } // TODO ver que este bien el \r\l - os << " HTTP/" << req.version << "\r\n" << static_cast(req); + os << " HTTP/" << req.version << "\n\r" << static_cast(req); return os; }