]> Sergey Matveev's repositories - public-inbox.git/commitdiff
newswww: set Content-Type properly
authorEric Wong <e@80x24.org>
Sun, 28 Feb 2016 23:36:45 +0000 (23:36 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Feb 2016 23:57:33 +0000 (23:57 +0000)
Oops :x

lib/PublicInbox/NewsWWW.pm

index e19765c98bbe54fd2eccbf643b0ecd0b288ce1bd..dfc002171e650325d23d70fa5a7a6a3f352296fb 100644 (file)
@@ -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 {