summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-05-11 10:54:41 +0000
committerrandomdan <randomdan@localhost>2012-05-11 10:54:41 +0000
commit6a837a39d8bc503304d2be8da3c4577636ef10ef (patch)
treee0fbe60cdd477d5c7b7e89e73dea0f7e1711f7e4
parentFix vector allocation bug in file based presenter cache (diff)
downloadproject2-6a837a39d8bc503304d2be8da3c4577636ef10ef.tar.bz2
project2-6a837a39d8bc503304d2be8da3c4577636ef10ef.tar.xz
project2-6a837a39d8bc503304d2be8da3c4577636ef10ef.zip
Don't bother setting locale on writing HTTP headers
-rw-r--r--project2/cgi/cgiHttpHeader.cpp2
1 files changed, 1 insertions, 1 deletions
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;