From: Eric Wong Date: Sun, 28 Feb 2016 23:36:45 +0000 (+0000) Subject: newswww: set Content-Type properly X-Git-Tag: v1.0.0~686 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=15a56c73e3b5c540d1f9d65058c9aba3ff840cdd;p=public-inbox.git newswww: set Content-Type properly Oops :x --- diff --git a/lib/PublicInbox/NewsWWW.pm b/lib/PublicInbox/NewsWWW.pm index e19765c9..dfc00217 100644 --- a/lib/PublicInbox/NewsWWW.pm +++ b/lib/PublicInbox/NewsWWW.pm @@ -43,7 +43,7 @@ sub call { return [ $code, $h, [ "Redirecting to $url\n" ] ] } - [ 404, [ 'Content-Length' => 'text/plain' ], [] ]; + [ 404, [ 'Content-Type' => 'text/plain' ], [] ]; } sub ng_mid_for {