aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-06-14 02:32:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-06-14 02:32:51 +0200
commitf5a7458ad13d71b7a445b11d181713297588fad8 (patch)
tree6228f612104e23e6c19ad313daa592db921709c4
parentAdd new line. (diff)
downloadJsonScgiQt-f5a7458ad13d71b7a445b11d181713297588fad8.tar.xz
JsonScgiQt-f5a7458ad13d71b7a445b11d181713297588fad8.zip
Proper 404 status.
-rw-r--r--lib/JsonScgiPeer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/JsonScgiPeer.cpp b/lib/JsonScgiPeer.cpp
index a01cc54..d690c2e 100644
--- a/lib/JsonScgiPeer.cpp
+++ b/lib/JsonScgiPeer.cpp
@@ -51,7 +51,7 @@ void JsonScgiPeer::die()
void JsonScgiPeer::notFound()
{
- m_outputBuffer = "Status 404 Not Found\r\nContent-Type: text/plain\r\n\r\nThese aren't the droids you're looking for.\n";
+ m_outputBuffer = "Status: 404 Not Found\r\nContent-Type: text/plain\r\n\r\nThese aren't the droids you're looking for.\n";
QTimer::singleShot(0, this, SLOT(readyWrite()));
}