From: Eric Wong Date: Fri, 26 Feb 2016 01:57:55 +0000 (+0000) Subject: extmsg: allow returning 404 responses X-Git-Tag: v1.0.0~710 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7e91647ea774e6293026d5215fe65b75415d97a4;p=public-inbox.git extmsg: allow returning 404 responses We will be falling back and cascading to newsgroup lookups, later. --- 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