开发者

webclient upload file methods

开发者 https://www.devze.com 2023-01-25 23:01 出处:网络
开发者_C百科It seems that webclient supports PUT and POST uploading. Is there any difference? Yes, one sends a PUT to the server, one sends a POST.In theory, PUT means \"enclosed entity [should] be st
开发者_C百科

It seems that webclient supports PUT and POST uploading. Is there any difference?


Yes, one sends a PUT to the server, one sends a POST. In theory, PUT means "enclosed entity [should] be stored under the supplied Request-URI", and POST means "the entity enclosed in the request [i]s a new subordinate of the resource identified by the Request-URI"

But in practice, it's up to the server what to do.

0

精彩评论

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