diff options
author | Eric Wong <e@80x24.org> | 2021-04-26 08:02:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-26 10:44:29 +0000 |
commit | 60196eedef969743a76f915825b741b69ed1c171 (patch) | |
tree | a5c4a5e06d9f42ffecfc36462e7b541225b9838c /lib/PublicInbox/WWW.pm | |
parent | d04a5a1eb026fa740e330d2b64af17d80e746624 (diff) | |
download | public-inbox-60196eedef969743a76f915825b741b69ed1c171.tar.gz |
Don't attempt to return HTTP 300 via Extmsg on it, since whoever uses /raw is likely piping it to some other command.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r-- | lib/PublicInbox/WWW.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 456692a3..8f4bfd0f 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -272,7 +272,7 @@ sub get_index { sub get_mid_txt { my ($ctx) = @_; require PublicInbox::Mbox; - PublicInbox::Mbox::emit_raw($ctx) || r404($ctx); + PublicInbox::Mbox::emit_raw($ctx) || r(404); } # /$INBOX/$MESSAGE_ID/ -> HTML content (short quotes) |