From 7e91647ea774e6293026d5215fe65b75415d97a4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Feb 2016 01:57:55 +0000 Subject: extmsg: allow returning 404 responses We will be falling back and cascading to newsgroup lookups, later. --- lib/PublicInbox/ExtMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox') diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index c6fc565a..09ee8d6e 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 -- cgit v1.2.3-24-ge0c7