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

--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> ---
If I'm reading this right, then returning a 400 response is entirely
inappropriate.

400 means "client sent an invalid request"

That's not the case, here. The application (server) is sending an invalid
response. That's ... something else entirely.

IMO throwing an exception would be the best behavior but if it's not
allowed/specified by the API itself or the javadoc, then I'm not sure how much
latitude we have for changing it.

-- 
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