From d19d29a6945493994df05ac88beb4ef38a78b77e Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Fri, 3 Apr 2015 11:20:11 +0300 Subject: [PATCH] Remove Link header --- app.psgi | 1 - 1 file changed, 1 deletion(-) 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; -- 2.30.2