将更
Method改为
POST解决方法。
request.Method = "POST";
MSDN声明,
ProtocolViolationException如果
GetResponseStream()使用
GETor
HEAD方法调用该方法,则将引发a 。

将更
Method改为
POST解决方法。
request.Method = "POST";
MSDN声明,
ProtocolViolationException如果
GetResponseStream()使用
GETor
HEAD方法调用该方法,则将引发a 。