Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1528

A non-200 response code gives no response body with wt=javabin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 4.0-ALPHA
    • 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.

      Attachments

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: