From 6a837a39d8bc503304d2be8da3c4577636ef10ef Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 11 May 2012 10:54:41 +0000 Subject: Don't bother setting locale on writing HTTP headers --- project2/cgi/cgiHttpHeader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/cgi/cgiHttpHeader.cpp b/project2/cgi/cgiHttpHeader.cpp index b71a647..28dcec9 100644 --- a/project2/cgi/cgiHttpHeader.cpp +++ b/project2/cgi/cgiHttpHeader.cpp @@ -19,7 +19,7 @@ void Project2HttpHeader::render(std::ostream & out) const { BOOST_FOREACH(const Headers::value_type & h, headers) { - out << h.first << ": " << h.second << std::endl; + out << h.first << ": " << h.second.raw() << std::endl; } BOOST_FOREACH(const cgicc::HTTPCookie & cookie, getCookies()) { out << cookie << std::endl; -- cgit v1.2.3