]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NewsWWW.pm
newswww: include body text in 404 response
[public-inbox.git] / lib / PublicInbox / NewsWWW.pm
index 908c43510dbd8f41bf6ce48dfb2e6212e771fcff..9b01dcd3839023ae69481dd1e282d491b97443c3 100644 (file)
@@ -43,7 +43,7 @@ sub call {
 
                return [ $code, $h, [ "Redirecting to $url\n" ] ]
        }
-       [ 404, [ 'Content-Type' => 'text/plain' ], [] ];
+       [ 404, [ 'Content-Type' => 'text/plain' ], [ "404 Not Found\n" ] ];
 }
 
 1;