X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=script%2Fpublic-inbox.cgi;h=42ab17c9e34b8e10fb24a0410ec25a9b620a3d09;hb=a3f00c4a7851b98b81a2fcb31d5ed131908e22de;hp=c766483a208cacb4dceec28e8c80795447591ed6;hpb=62f28026e624ed30d620063a0fa92cbedb7f6673;p=public-inbox.git diff --git a/script/public-inbox.cgi b/script/public-inbox.cgi index c766483a..42ab17c9 100755 --- a/script/public-inbox.cgi +++ b/script/public-inbox.cgi @@ -13,14 +13,7 @@ BEGIN { PublicInbox::WWW->preload if $ENV{MOD_PERL}; } my $www = PublicInbox::WWW->new; -my $have_deflater = eval { require Plack::Middleware::Deflater; 1 }; my $app = builder { - if ($have_deflater) { - enable 'Deflater', - content_type => [ 'text/html', 'text/plain', - 'application/atom+xml' ]; - } - # Enable to ensure redirects and Atom feed URLs are generated # properly when running behind a reverse proxy server which # sets the X-Forwarded-Proto request header.