Exit after printing http headers if request method is HEAD.

This commit is contained in:
Uriel 2009-03-03 20:24:25 +00:00
parent 301331f63f
commit 2c21ba4ae7

View file

@ -1,5 +1,7 @@
% for(h in $extraHttpHeaders) echo $h
Content-Type: text/html
% if(~ $REQUEST_METHOD HEAD)
% exit
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"