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

      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?

          Form Name

            [JRASERVER-15658] Empty Content-Encoding in SOAP requests when using gzip Accept-Encoding in request

            No work has yet been logged on this issue.

              scott@atlassian.com Scott Farquhar
              dalonso Diego Alonso [Atlassian]
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: