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 2018/02/22 02:57:33 UTC

[Bug 60362] Missing reason phrase in response

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

--- Comment #68 from William Watson <wr...@gmail.com> ---
I believe an option to send a reason phrase should be maintained in Tomcat 9.

The reason phrase should be ignored by RFC-compliant client software.  But RFC
compliant software is not the only thing that consumes responses.

HTTP responses are also read by developers.  In this case, the reason phrase
can provide useful information.  The developer experience of a REST API is
improved with a reason phrase.  The reason phrase may be visible to a developer
using cURL or when debugging their application.

In short, "405 METHOD NOT ALLOWED" provides a better developer experience than
"405 ".

(Let me know if I should open a new bug against Tomcat 9 to progress this
case).

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