There have been quite a few other questions about this (in particular, the 405 Method Not Allowed error), but I've yet to find a solution that seems to work.
I have a default installation of IIS 7 on a Win 7 machine. By default ISAPI/CGI/ASP etc, and WebDav are all disabled/not installed. The only setting I've changed is added read/write for some of the features under Feature Delegation.
Under Handler Mappings on the Default Site I have OPTIONSVerbHandler, TRACEVerbHandler and StaticFile. The StaticFile request restrictions shows all verbs enabled, access read, invoke handler only if request is mapped to file or folder.
System.Web.DefaultHttpHandler properties show the verbs GET, HEAD and POST.
Tried so far
If I set up another Handler Mapping, duplicating OPTIONS but setting ther verb to POST instead, the 405 error is gone, but I get a blank page instead.
As suggested near the bottom of this question, I tried adding this to my web.config, but it didn't seem to have any effect:
(I also did the same with the config GUI, and also added HttpPostLocalhost.)
I've tried changing post to POST in the html (just in case), but that had no effect.
I've also tried explicitly allowing the verbs under Request Filtering, but that didn't help either.
Does anyone have any other ideas? I assume it will work if I install asp and change all of my file extensions, but that seems unnecessary.