Red Hat Bugzilla – Bug 1475940
koji download-build does not work when SRPM URL is actually a redirection
Last modified: 2017-10-12 02:07:07 EDT
Created attachment 1305475 [details]
Description of problem:
In some koji deployments (RH's brew) the SRPM url is actually redirected with 302 to a different location, which is not a big deal, but koji should follow the redirection.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. koji download-build --arch=src <nvr>
File <nvr>.src.rpm is actually HTML text with 302 redirection message.
SRPM is downloaded from redirected link.
As written above, this was seen in RH's Koji instance, which might work for verification within RH internal network.