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

Python client cannot parse proxied response when served by Tomcat.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.7, 6.0
    • SolrCloud
    • None

    Description

      Seems that propagating the transfer-encoding and connection headers from the proxied response to the real response can cause some http clients (python's so far) to see chunked encoding data as part of the supposedly non chunked response content. The headers are also duplicated in the response.

      The headers do not get duplicated with Jetty, and python http libs seem to have no problems when getting proxied via Jetty.

      Testing seems to confirm that not passing on these headers fixes the Tomcat issue.

      Attachments

        1. SOLR-5442.patch
          2 kB
          Mark Miller

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: