From 3aee97988d62630d1b5bd55780fbbb06dced1945 Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Mon, 14 Apr 2003 01:39:20 -0800 Subject: [PATCH] [project @ 2003-04-14 02:39:20 by cjwatson] Don't optimize HEAD requests for attachment or mbox downloads, since their content-types differ. --- cgi/bugreport.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 6e003370..f7d5c98d 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -34,7 +34,7 @@ my $mbox = ($param{'mbox'} || 'no') eq 'yes'; my $buglog = buglog($ref); -if ($ENV{REQUEST_METHOD} eq 'HEAD') { +if ($ENV{REQUEST_METHOD} eq 'HEAD' and not defined($att) and not $mbox) { print "Content-Type: text/html\n"; my @stat = stat $buglog; if (@stat) { -- 2.39.5