[ https://issues.apache.org/jira/browse/SOLR-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771358#action_12771358 ]
Shalin Shekhar Mangar commented on SOLR-1528: --------------------------------------------- {quote} This doesn't seem unique to the binary format... We don't currently return parseable errors for any return format do we? {quote} That is true. SOLR-141 wants to fix that. However supposing that SOLR-141 is done, javabin will still have a problem because it cannot return a binary payload. SOLR-141 is also on my list of things. > A non-200 response code gives no response body with wt=javabin > -------------------------------------------------------------- > > Key: SOLR-1528 > URL: https://issues.apache.org/jira/browse/SOLR-1528 > Project: Solr > Issue Type: Bug > Reporter: Shalin Shekhar Mangar > Fix For: 1.5 > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.