开发者

Does the WebClient class support changing the HTTP method to HEAD?

开发者 https://www.devze.com 2023-01-13 18:25 出处:网络
Does the WebClient class support changing the method to HEAD? I like the simplicity of using this clas开发者_如何学运维s but if it\'s not that flexible then I will simply switch over to using the fu

Does the WebClient class support changing the method to HEAD?

I like the simplicity of using this clas开发者_如何学运维s but if it's not that flexible then I will simply switch over to using the full-fledged HttpWebRequest and Response classes.


Marc Gravell suggested a solution to a similar problem, using a subclass.

0

精彩评论

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