Spurious blank line being added to headers...

2016-03-19 Thread Gordon Ross
I’m using HttpClient 4.3.6 on Java 1.7.0_95. I’m finding that in certain circumstances, HttpClient is adding a spurious blank line to the headers. This is then causing the far end server to treat the remaining headers as the body - not what is desired! If I run the code as a stand alone Java

Re: Spurious blank line being added to headers...

2016-03-19 Thread Alexey Panchenko
Are you sure that value of the X-CREDENTIALS header doesn't end with \r\n ? On Thu, Mar 17, 2016 at 11:16 PM, Gordon Ross wrote: > I’m using HttpClient 4.3.6 on Java 1.7.0_95. I’m finding that in certain > circumstances, HttpClient is adding a spurious blank line to the