tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: CRLF in HTTP headers
Date Thu, 17 Feb 2011 15:08:13 GMT
On 17/02/2011 14:38, Adrian Fretwell wrote:
> Tomcat 6.0.32
> Hello,
> I am struggling a little with what may be a simple issue:
> When I send a request to my installation of Tomcat (including any of the
> example servlets) the HTTP response headers returned are separated by
> only a line feed (0A).
> I have a Hermes2 application running under tomcat as a B2B Gateway. 
> When trying to connect to us, our partners system complains that "*HTTP
> response line not terminated by CRLF*. "  (0D0A) and throws an exception.
> Can anyone tell me how (or the correct way) to configure Tomcat to
> ensure it sends CRLF and not just LF?

Tomcat always (since it is required by the HTTP spec) sends header lines
terminated with CRLF.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message