The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF

只需在web.config中添加配置:


<system.net>
<settings>
<httpWebRequest useUnsafeHeaderParsing = "true"/>
</settings>
</system.net>


你可能感兴趣的:(The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF)