问题
Does the web server built into Visual Studio 2010 (and earlier, but 2010 in particular), WebDev.WebServer.exe
, support the HTTP verb PUT? If so, does it support it by default or does it require configuration? If it requires configuration, please describe how to configure it.
回答1:
In Visual Studio 2010 at least, the Visual Studio Development Server web server does seem to support the HTTP PUT method.
I previously answered that it does not, but the URL for which I was submitting requests with the PUT method was incorrect. Once I corrected the URL the request was accepted without requiring any other changes to Visual Studio or the built-in web server settings.
来源:https://stackoverflow.com/questions/10405137/does-visual-studios-built-in-web-server-support-http-put