+ $ctx->{mhref} = ($ctx->{nr} || $nxt) ?
+ "../${\mid_href($cur->{mid})}/" : '';
+ my $eml = $ctx->{-inbox}->smsg_eml($cur) or return;
+ my $hdr = $eml->header_obj;
+ my $obuf = $ctx->{obuf} = _msg_page_prepare_obuf($hdr, $ctx);
+ multipart_text_as_html($eml, $ctx);
+ delete $ctx->{obuf};
+ $$obuf .= '</pre><hr>';
+ # we want to at least show the message if something
+ # here crashes:
+ eval { $$obuf .= html_footer($ctx, $ctx->{first_hdr}) } if !$nxt;
+ $$obuf;
+}
+
+# /$INBOX/$MESSAGE_ID/ for unindexed v1 inboxes
+sub no_over_i {
+ my ($ctx) = @_;
+ my $eml = delete $ctx->{eml} or return;
+ my $hdr = $eml->header_obj;
+ $ctx->{mhref} = '';
+ my $obuf = $ctx->{obuf} = _msg_page_prepare_obuf($hdr, $ctx);
+ multipart_text_as_html($eml, $ctx);
+ delete $ctx->{obuf};
+ $$obuf .= '</pre><hr>';
+ eval { $$obuf .= html_footer($ctx, $hdr) };
+ $$obuf
+}
+
+sub no_over_html ($) {
+ my ($ctx) = @_;
+ my $bref = $ctx->{-inbox}->msg_by_mid($ctx->{mid}) or return; # 404
+ $ctx->{eml} = PublicInbox::Eml->new($bref);
+ PublicInbox::WwwStream::response($ctx, 200, \&no_over_i);