Studio的内置Web服务器是否支持HTTP

Studio的内置Web服务器是否支持HTTP

本文介绍了Visual Studio的内置Web服务器是否支持HTTP PUT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2010(以及更早的版本,尤其是2010年)内置的Web服务器WebDev.WebServer.exe是否支持HTTP谓词PUT?如果是这样,它是否默认支持它或需要配置?如果需要配置,请说明如何配置.

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.

推荐答案

至少在Visual Studio 2010中,Visual Studio Development Server Web服务器确实似乎支持HTTP PUT方法.

In Visual Studio 2010 at least, the Visual Studio Development Server web server does seem to support the HTTP PUT method.

我以前回答不是,但是我使用PUT方法提交请求的URL不正确.一旦我更正了URL,就可以接受请求,而无需对Visual Studio或内置的Web服务器设置进行任何其他更改.

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.

这篇关于Visual Studio的内置Web服务器是否支持HTTP PUT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 15:58