lib/omnibus/fetchers/net_fetcher.rb in omnibus-6.0.24 vs lib/omnibus/fetchers/net_fetcher.rb in omnibus-6.0.25
- old
+ new
@@ -169,9 +169,10 @@
options[:allow_unsafe_redirects] = true
end
# Set the cookie if one was given
options["Cookie"] = source[:cookie] if source[:cookie]
+ options["Authorization"] = source[:authorization] if source[:authorization]
download_file!(download_url, downloaded_file, options)
end
#