IIS7.5 Gives 500 Internal Server Error when trying to use DELETE verb
问题 I am trying to issue a DELETE to an IIS7.5 resource: DELETE http://198.252.206.16:48251/Test/foo.ashx HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Host: 198.252.206.16:48251 Content-Length: 0 Connection: Keep-Alive Pragma: no-cache And the server responds with: HTTP/1.1 500