From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: meta@public-inbox.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A429F20457 for ; Fri, 26 Feb 2016 02:37:22 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] extmsg: allow returning 404 responses Date: Fri, 26 Feb 2016 02:37:22 +0000 Message-Id: <20160226023722.8266-1-e@80x24.org> List-Id: We will be falling back and cascading to newsgroup lookups, later. --- lib/PublicInbox/ExtMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index c6fc565..09ee8d6 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -147,7 +147,7 @@ again: } $s .= ''; - [300, ['Content-Type'=>'text/html; charset=UTF-8'], [$s]]; + [$code, ['Content-Type'=>'text/html; charset=UTF-8'], [$s]]; } # Redirect to another public-inbox which is mapped by $pi_config -- EW