We've added Content-Length checking in download_file. It doesn't work well with 302 response. It should follow redirects.
download_file
PR #3464
Metadata Update from @tkopecek: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue tagged with: testing-ready
Metadata Update from @mfilip: - Issue tagged with: testing-done
Commit eec1b9ed fixes this issue
Commit df445027 relates to this ticket
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3463
Please continue any further discussion there.