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

Python client cannot parse proxied response when served by Tomcat.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment