about summary refs log tree commit homepage
path: root/lib/PublicInbox/Mbox.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-25 02:45:52 +0000
committerEric Wong <e@80x24.org>2021-10-25 08:16:59 +0000
commitead71b8c387f0748338a4add37eeb437a14b02d8 (patch)
tree0cbe911f25039e743c189d567ac0dfc8190bd61f /lib/PublicInbox/Mbox.pm
parentb5454f38b1903735594e3c253617a66dd267062f (diff)
downloadpublic-inbox-ead71b8c387f0748338a4add37eeb437a14b02d8.tar.gz
This will let us modify the response header later to set
a proper charset for Content-Type when displaying raw
messages.

Cc: Thomas Weißschuh <thomas@t-8ch.de>
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r--lib/PublicInbox/Mbox.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm
index dede4825..4f84eea6 100644
--- a/lib/PublicInbox/Mbox.pm
+++ b/lib/PublicInbox/Mbox.pm
@@ -47,7 +47,7 @@ sub async_eml { # for async_blob_cb
         $ctx->{smsg} = $ctx->{ibx}->over->next_by_mid(@{$ctx->{next_arg}});
 
         $ctx->zmore(msg_hdr($ctx, $eml));
-        $ctx->{http_out}->write($ctx->translate(msg_body($eml)));
+        $ctx->write(msg_body($eml));
 }
 
 sub res_hdr ($$) {