From 5bcc184ac103c71a3f857ef319d414f65d37216b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 4 Oct 2015 00:47:20 +0000 Subject: mbox: generate Archived-At, List-Post, List-Archive headers Downloaded mboxen can be archived/stored indefinitely, try to make it easy for future archaelogists to find the online archive location. --- lib/PublicInbox/WWW.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/WWW.pm') diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm index 58a4256a..fb57163e 100644 --- a/lib/PublicInbox/WWW.pm +++ b/lib/PublicInbox/WWW.pm @@ -163,7 +163,7 @@ sub get_mid_txt { my ($ctx) = @_; my $x = mid2blob($ctx) or return r404($ctx); require PublicInbox::Mbox; - PublicInbox::Mbox::emit1($x); + PublicInbox::Mbox::emit1($ctx, $x); } # /$LISTNAME/$MESSAGE_ID/ -> HTML content (short quotes) -- cgit v1.2.3-24-ge0c7