Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63626

Missing Content-Length on download the build artifacts REST API

      Hi Team,

      The download the build artifacts REST API is not returning the "Content-Length" for some Jobs instead it is giving "Transfer-Encoding" in the response header.

      REST URL: http://<<host>>/job/<<job name>>/<<build number>>/artifact/zip/artifact.zip

      Is there anything that we can do in Job configuration to get "Content-Length" for all the jobs?

          [JENKINS-63626] Missing Content-Length on download the build artifacts REST API

          prashanth madduri created issue -
          prashanth madduri made changes -
          Description Original: Hi Team,

          The download the build artifacts REST API is not returning the "Content-Length" for some Jobs instead it is giving "Transfer-Encoding" in the response header.

          Is there anything that we can do in Job configuration to get "Content-Length" for all the jobs?
          New: Hi Team,

          The download the build artifacts REST API is not returning the "Content-Length" for some Jobs instead it is giving "Transfer-Encoding" in the response header.

          URL: http://&lt;&lt;host&gt;&gt;/job/&lt;&lt;job name>>/<<build number>>/artifact/*zip*/artifact.zip

          Is there anything that we can do in Job configuration to get "Content-Length" for all the jobs?
          prashanth madduri made changes -
          Description Original: Hi Team,

          The download the build artifacts REST API is not returning the "Content-Length" for some Jobs instead it is giving "Transfer-Encoding" in the response header.

          URL: http://&lt;&lt;host&gt;&gt;/job/&lt;&lt;job name>>/<<build number>>/artifact/*zip*/artifact.zip

          Is there anything that we can do in Job configuration to get "Content-Length" for all the jobs?
          New: Hi Team,

          The download the build artifacts REST API is not returning the "Content-Length" for some Jobs instead it is giving "Transfer-Encoding" in the response header.

          REST URL: http://&lt;&lt;host&gt;&gt;/job/&lt;&lt;job name>>/<<build number>>/artifact/*zip*/artifact.zip

          Is there anything that we can do in Job configuration to get "Content-Length" for all the jobs?

            eyalbe Eyal Ben Moshe
            prashanthmadduri prashanth madduri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: