You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Artifactory Cloud Pro X hosted by JFrog
ruby 2.7.0p0 under Linux
Scenario:
Using artifactory client gem to download artifacts from a JFrog Artifactory server. Some artifacts download_uri property points to a URI for which the Artifactory server responds with a 302 redirect. This means the response body is empty, and the download method produces a zero-byte file
I see the issue. That redirect handling code is only executed if a block is not given, so it either needs to handle cases where a block is give orartifact.download needs similar logic
Version:
3.0.12
Environment:
Artifactory Cloud Pro X hosted by JFrog
ruby 2.7.0p0 under Linux
Scenario:
Using artifactory client gem to download artifacts from a JFrog Artifactory server. Some artifacts
download_uri
property points to a URI for which the Artifactory server responds with a 302 redirect. This means the response body is empty, and thedownload
method produces a zero-byte fileSteps to Reproduce:
Issue seen when using pry:
Expected Result:
/tmp
has many RPM and other artifact files with the same content they had on the Artifactory serverActual Result:
/tmp
has many zero-byte files with the same filenames as the artifacts to be downloaded, but no dataThe text was updated successfully, but these errors were encountered: