Programmers learn & share
+1 vote

Problem :

Facing bellow error
the server committed a protocol violation. section=responseheader detail=cr must be followed by lf
by (6.9k points)   | 104 views

1 Answer

0 votes

Solution :

This is definitely the problem related to server. Probably the server is not following the HTTP specification and so the .NET client has flagging this as a potential problem. 

There is no security issue here but only non-compliance with the RFC. 

So to resolve the problem please apply the bellow configuration change:

   <httpWebRequest useUnsafeHeaderParsing="true" /> 
by (36.1k points)  
2,187 questions
2,514 answers
241 users