Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15658

Empty Content-Encoding in SOAP requests when using gzip Accept-Encoding in request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.13.2
    • 3.13
    • None

    Description

      If you:

      • Enable gzip compression in JIRA under General Configuration
      • Send a SOAP request that accepts a compressed response

      With the Accept-Encoding header:

      $ wget -O - -S --header 'Accept-Encoding: gzip' http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl  > /dev/null
      
        HTTP/1.1 200 OK
        Server: Apache-Coyote/1.1
        Content-Encoding:
        Vary:
        Content-Type: text/xml;charset=utf-8
        Date: Tue, 23 Sep 2008 02:27:31 GMT
        Connection: close
      

      Without the Accept-Encoding header:

      $ wget -O - -S http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl  > /dev/null
      
        HTTP/1.1 200 OK
        Server: Apache-Coyote/1.1
        Content-Type: text/xml;charset=utf-8
        Date: Tue, 23 Sep 2008 02:31:45 GMT
        Connection: close
      

      The problem is that some clients break while parsing the empty Content-Encoding, and such a header does not seem correct. Can please someone take a look at it, and report their findings?

      Attachments

        Activity

          People

            scott@atlassian.com Scott Farquhar
            dalonso Diego Alonso [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: