[ 
https://issues.apache.org/jira/browse/SOLR-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771402#action_12771402
 ] 

Yonik Seeley commented on SOLR-1528:
------------------------------------

OK - makes sense.
I suppose XML makes the most sense to use.
So just override the version (just to the latest, or do we have to start 
linking the javabin version to the XML version?)
It also makes sense to use indent=true - humans are much more likely to see 
this output.


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

Reply via email to