Remove Link header
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 3 Apr 2015 08:20:11 +0000 (11:20 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 3 Apr 2015 08:20:11 +0000 (11:20 +0300)
app.psgi

index 8fbc2c01337e9f910105510c77bea4fc6b95bdad..b29127c24e3e1375ae8e65ea4c3ddddf98930beb 100644 (file)
--- 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', '</static/cyborg.css>; 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;
This page took 0.009781 seconds and 4 git commands to generate.