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
commitc4a6aabef8b68fc55e53f0f2e5250b763570635b (patch)
treee0fbe60cdd477d5c7b7e89e73dea0f7e1711f7e4
parentFix vector allocation bug in file based presenter cache (diff)
downloadproject2-c4a6aabef8b68fc55e53f0f2e5250b763570635b.tar.bz2
project2-c4a6aabef8b68fc55e53f0f2e5250b763570635b.tar.xz
project2-c4a6aabef8b68fc55e53f0f2e5250b763570635b.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;