From: Marius Gavrilescu Date: Fri, 3 Apr 2015 08:20:11 +0000 (+0300) Subject: Remove Link header X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d19d29a6945493994df05ac88beb4ef38a78b77e;p=gruntmaster-page.git Remove Link header --- diff --git a/app.psgi b/app.psgi index 8fbc2c0..b29127c 100644 --- a/app.psgi +++ b/app.psgi @@ -41,7 +41,6 @@ sub add_headers { my $resp = $app->($_[0]); my $hdrs = Plack::Util::headers($resp->[1]); $hdrs->set('Content-Security-Policy', CONTENT_SECURITY_POLICY); - $hdrs->set('Link', '; rel=stylesheet') if $hdrs->get('Content-Type') =~ m,^text/html,; $hdrs->set('Cache-Control', 'public, max-age=604800') if $_[0]->{PATH_INFO} =~ qr,^/static/,; $resp->[1] = $hdrs->headers; $resp;