You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2012/06/14 02:28:42 UTC
[jira] [Resolved] (SOLR-1528) A non-200 response code gives no
response body with wt=javabin
[ https://issues.apache.org/jira/browse/SOLR-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-1528.
----------------------------
Resolution: Duplicate
Assignee: Ryan McKinley
this was dealt with in SOLR-141
see SolrExampleBinaryTest.testErrorHandling
> 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
> Assignee: Ryan McKinley
> Fix For: 4.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org