tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 60362] Missing reason phrase in response
Date Thu, 17 May 2018 02:02:25 GMT

--- Comment #74 from Christopher Schultz <> ---
(In reply to Michael Osipov from comment #73)
> (In reply to Ralf Hauser from comment #72)
> > First, there are many error conditions for which no precise 4xx or 5xx code
> > is defined. So in this way, the reason might be helpful.
> No, use a given status code and augment it with application/problem+json or
> similar. The Status text cannot be set via Servlet API anyway.,%20java.lang.String)

I was surprised to see that Tomcat actively strips-out the reason phrase. I had
initially thought this was simply Tomcat removing reason-phrases from every
response generated by Tomcat (e.g. everything coming from the DefaultServlet,
various internal errors, etc.), but it's actively stripping reason phrases
explicitly-set by applications. :(

At any rate, this should be discussed in dev@ and not in bugzilla at this

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message