You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/04/30 16:32:45 UTC
DO NOT REPLY [Bug 19480] New: -
Missing Reason-Phrase in HTTP response
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19480>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19480
Missing Reason-Phrase in HTTP response
Summary: Missing Reason-Phrase in HTTP response
Product: Tomcat 4
Version: 4.1.24
Platform: Sun
URL: http://www.ea.com
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: pogo_tomcat@yahoo.com
The HTTP 1.1 spec says:
The first line of a Response message is the Status-Line, consisting of the
protocol version followed by a numeric status code and its associated textual
phrase, with each element separated by SP characters. No CR or LF is allowed
except in the final CRLF sequence.
Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
However, Tomcat-hosted JSP pages served via Apache 2.0.45 using mod_jk2 in
some cases do not include a Reason-Phrase in its
HTTP responses. For example:
% telnet www.ea.com 80
Trying 159.153.253.82...
Connected to www.ea.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.ea.com
HTTP/1.1 302
Date: Tue, 29 Apr 2003 23:09:20 GMT
Server: Apache
Set-Cookie: JSESSIONID=335B09B7C1A68756439FEBD8FAA2B110.2; Path=/
Location: http://www.ea.com/index.jsp?ncc=1
Content-Type: text/plain; charset=ISO-8859-1
Content-Length: 0
Note the missing Reason-Phrase after the line starting with HTTP.
The HTTP spec section on this is at the URL:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6
The index page for this site is a JSP page hosted by Tomcat 4.1.24 connected by
the mod_jk2 web connector.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org