开发者

asp.net C#: PUT httpRequest

开发者 https://www.devze.com 2022-12-11 09:50 出处:网络
I\'ve got an asp.net page that receives a PUT r开发者_如何学Goequest with the following form: PUT -Filename-

I've got an asp.net page that receives a PUT r开发者_如何学Goequest with the following form:

PUT -Filename-

Header1: value1

Header2: value1

i've managed to extract the headers..and MethodType (PUT), however i cant figure out a way to extract the -filename- , i cant even find a variable that sees it..


You have an invalid HTTP request. What follows the PUT verb should be the name of the resource your are putting to which in your case is the asp.net page. So a valid request should be:

PUT /yourpage.aspx
Headre1: value1
Header2: value2

In this case of course you already know yourpage.aspx as you are inside this page.

0

精彩评论

暂无评论...
验证码 换一张
取 消