diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-06-14 02:32:51 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-06-14 02:32:51 +0200 |
commit | f5a7458ad13d71b7a445b11d181713297588fad8 (patch) | |
tree | 6228f612104e23e6c19ad313daa592db921709c4 | |
parent | Add new line. (diff) | |
download | JsonScgiQt-f5a7458ad13d71b7a445b11d181713297588fad8.tar.xz JsonScgiQt-f5a7458ad13d71b7a445b11d181713297588fad8.zip |
Proper 404 status.
-rw-r--r-- | lib/JsonScgiPeer.cpp | 2 |
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())); } |