about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-09-10 08:16:56 +0000
committerEric Wong <e@80x24.org>2022-09-10 19:50:28 +0000
commitd6d1f632bf8c7f34ae014a9cd69fde699bbe183a (patch)
tree6da03d8e5f8bc0fbe2323b1b42cefd78080a22a3 /lib/PublicInbox/Feed.pm
parente4baa06a7c01490744bc3fcd0b8a6136fd341323 (diff)
downloadpublic-inbox-d6d1f632bf8c7f34ae014a9cd69fde699bbe183a.tar.gz
There's no reason to be streaming large amounts of HTML for
anything other than a 200 response.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index bdfa0d9d..56ca9886 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -71,7 +71,7 @@ sub new_html {
         $ctx->{-html_tip} = '<pre>';
         $ctx->{-upfx} = '';
         $ctx->{-hr} = 1;
-        PublicInbox::WwwStream::aresponse($ctx, 200, \&new_html_i);
+        PublicInbox::WwwStream::aresponse($ctx, \&new_html_i);
 }
 
 # private subs