<configuration>
<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing= "true " />
</settings>
</system.net>
</configuration>
转载于:https://www.cnblogs.com/twilight/archive/2008/09/09/1287261.html