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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: