https://bz.apache.org/bugzilla/show_bug.cgi?id=60362

--- Comment #58 from thorsten.me...@knime.com ---
Even if this change doesn't break clients it will give a very bad impression to
users. For example if you use Java to issue HTTP request and and error was
returned by the server, the exception message reads "Server returned error 404:
Not Found" (or similar). Even for uses not knowing the HTTP status code the
"Not Found" is descriptive. Therefore I guess many Java applications displays
the exception message as is. With Tomcat 8.5 the exception message is "Server
returned error 404: null". Normal users don't have clue any more what's going
on and even for programmers this more looks like a NullPointerException
somewhere deep in the code. In order to restore a good user experience you now
have to interpret the exception messages and create new ones for every possible
status code.

Therefore my question is: why on earth has the reason phrase been removed in
the first place? In order to save a few bytes of traffic?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to