I was getting this message as infrequent "spam" in my DMCGI error logs:
CGI Error: unexpected HTTP request method: HEAD
BUG: Aborting CGI
Since first noticing the error, I've included a methods check
if(GetEnv(REQUEST_METHOD) == "HEAD")
(diverted to avoid calling GetEnv(HTTP_COOKIE) or returning). Anyway, this seems to have solved the crashes, but...
Expected Results: Since the error message isn't internal to Dantom.CGI, I would expect the crash report to tell me where it crashed and why.
Does the problem occur:
Every time? Or how often? prior to my fix, every time a HEAD request was received, as far as I could tell
In other games? error present in logs of all DMCGI websites I run
On other computers? also occurred on previous server
Workarounds: This isn't a critical issue; however, it does spam the logs with errors that are difficult to track down.
edit:
Actually, I'm still getting the same "CGI Error"s, though apparently less frequently.