The server committed a protocol violation. Section=ResponseStatusLine
I’ve reused my HttpWebRequest library over and over before when automating posts to webservers, webservices, etc. I’ve come across this error, “The server committed a protocol violation. Section=ResponseStatusLine”, many times before. In the past frameworks (1.1, specifically), all I had to do was add <system.net> <settings> <httpWebRequest useUnsafeHeaderParsing=”true”/> </settings> </system.net> to the web.config or app.config, [...]