diff options
author | Eric Wong <e@80x24.org> | 2021-10-25 02:45:52 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-25 08:16:59 +0000 |
commit | ead71b8c387f0748338a4add37eeb437a14b02d8 (patch) | |
tree | 0cbe911f25039e743c189d567ac0dfc8190bd61f /lib/PublicInbox/Mbox.pm | |
parent | b5454f38b1903735594e3c253617a66dd267062f (diff) | |
download | public-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.pm | 2 |
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 ($$) { |