Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Servlet Engines (Tomcat & Jetty) do not allow you to write binary payload when the HTTP response code is not 200. Therefore, when an error occurs during a request and wt=javabin then although the response to the client has the correct HTTP response code (4xx/5xx), it has no binary payload. Instead, tomcat sends out a character stream with stack traces which causes an exception in the clients because they were expecting a binary payload.