https://bz.apache.org/bugzilla/show_bug.cgi?id=61982
Bug ID: 61982
Summary: HTTP responses are not compliant with RFC 7230
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Cluster
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
With suppression of the HTTP reason code enabled, the response header returned
by Tomcat is not compliant with RFC 7230.
Tomcat will response with a response: "HTTP/1.1 200<CR><LF>"
According to RFC 7230 section 3.1.2
(https://tools.ietf.org/html/rfc7230#section-3.1.2) , the status line should be
of the form:
status-line = HTTP-version SP status-code SP reason-phrase CRLF
where
reason-phrase = *( HTAB / SP / VCHAR / obs-text )
There must be a space after the status code even if the reason-phrase is empty.
See also http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/1214.html
This issue causes an issue with the python tornado library.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]