]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WWW.pm
www_stream: add response wrapper sub
[public-inbox.git] / lib / PublicInbox / WWW.pm
index cbd3142d1c62c256766ac0fe842486f1c164364a..c4509bd95649ae2f8caa31c26600ef5b1bb0d2bf 100644 (file)
@@ -236,8 +236,7 @@ sub get_mid_html {
        require Email::MIME;
        my $mime = Email::MIME->new($x);
        searcher($ctx);
-       [ 200, [ 'Content-Type' => 'text/html; charset=UTF-8' ],
-         PublicInbox::View::msg_html($ctx, $mime, $foot) ];
+       PublicInbox::View::msg_html($ctx, $mime, $foot);
 }
 
 # /$INBOX/$MESSAGE_ID/t/