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

--- Comment #68 from William Watson <wrwat...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to