I was getting the below error emanating from a Biztalk HTTP send port.
- The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
For each Biztalk server installation there is a BTSNTSvc.exe.config and a BTSNTSvc64.exe.config file which contains some settings, such as dehydration properties and their default values, for Biztalk. More information in this file and its location can be found here:
In order to fix the above issue the following xml must be added to these config files:
<httpWebRequest useUnsafeHeaderParsing ="true"/>
(NB I placed it just underneath the </runtime> section, I also placed it in both config files for good measure)
The Biztalk host instances must then be restarted.
I have also read elsewhere that unclicking the "Enable Chunked Encoding" setting on the send port might help with the error, however I did not need to do this as the above worked for me.