lib/PublicInbox/Mbox.pm | 3 +-- lib/PublicInbox/MboxGz.pm | 3 +-- diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index e65f38f07351e765e13ddd37258f737681518706..2ef8ff2ba48da7e52d2aebbde3d035c001c23503 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ # Streaming interface for mboxrd HTTP responses @@ -82,7 +82,6 @@ # /$INBOX/$MESSAGE_ID/raw sub emit_raw { my ($ctx) = @_; - $ctx->{base_url} = $ctx->{ibx}->base_url($ctx->{env}); my $over = $ctx->{ibx}->over or return no_over_raw($ctx); my ($id, $prev); my $mip = $ctx->{next_arg} = [ $ctx->{mid}, \$id, \$prev ]; diff --git a/lib/PublicInbox/MboxGz.pm b/lib/PublicInbox/MboxGz.pm index 3ed33867a1a84de1c2954d906aa620cfb6e7b647..56f5adcf9caca503d3fff8b5ac402874ed24f5ca 100644 --- a/lib/PublicInbox/MboxGz.pm +++ b/lib/PublicInbox/MboxGz.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ package PublicInbox::MboxGz; use strict; @@ -22,7 +22,6 @@ sub mbox_gz { my ($self, $cb, $fn) = @_; $self->{cb} = $cb; - $self->{base_url} = $self->{ibx}->base_url($self->{env}); $self->{gz} = PublicInbox::GzipFilter::gzip_or_die(); $fn = to_filename($fn // '') // 'no-subject'; # http://www.iana.org/assignments/media-types/application/gzip