git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
source: highlight perl signatures as Type instead of Error
[sheet.git]
/
common.inc.plp
diff --git
a/common.inc.plp
b/common.inc.plp
index 6ea11976106b6363bd8b0d88dfca1b267cae6476..f127505d71866bfb054b38b8ed36232194c3f6bd 100644
(file)
--- a/
common.inc.plp
+++ b/
common.inc.plp
@@
-142,6
+142,7
@@
sub Html {
# document headers before output
$header{content_type} = "text/html; charset=$meta->{charset}"
unless $PLP::sentheaders;
+ exit if $ENV{REQUEST_METHOD} eq 'HEAD';
unshift @{ $meta->{raw} }, stylesheet($meta->{stylesheet});
push @{ $meta->{raw} }, (