diff --git a/src/chocolatey.resources/helpers/functions/Get-WebFile.ps1 b/src/chocolatey.resources/helpers/functions/Get-WebFile.ps1 index 353172d2c7..23c778e164 100644 --- a/src/chocolatey.resources/helpers/functions/Get-WebFile.ps1 +++ b/src/chocolatey.resources/helpers/functions/Get-WebFile.ps1 @@ -186,7 +186,6 @@ param( 'Cookie' {$req.CookieContainer.SetCookies($uri, $options.headers.$key)} 'Referer' {$req.Referer = $options.headers.$key} 'User-Agent' {$req.UserAgent = $options.headers.$key} - 'Authorization' {$re.Authorization = $options.headers.$key} Default {$req.Headers.Add($key, $options.headers.$key)} } }