Browse Source

* Process request variables for a HEAD request as if it is a GET request

git-svn-id: trunk@16372 -
joost 14 years ago
parent
commit
144672ffd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-web/src/base/httpdefs.pp

+ 1 - 1
packages/fcl-web/src/base/httpdefs.pp

@@ -1166,7 +1166,7 @@ begin
     if FHandleGetOnPost then
       InitGetVars;
     end
-  else if CompareText(R,'GET')=0 then
+  else if (CompareText(R,'GET')=0) or (CompareText(R,'HEAD')=0) then
     InitGetVars
   else
     Raise Exception.CreateFmt(SErrInvalidRequestMethod,[R]);