|
|
1
3
这确实是一个令人沮丧的问题,可以通过使用以下扩展方法类和调用request.betterGetResponse()来解决这个问题
你在我的博客上看到了更多关于这个主题的信息 http://fearthecowboy.com/2011/09/02/fixing-webrequests-desire-to-throw-exceptions-instead-of-returning-status/ |
|
|
2
1
试试这个:
|