Remove BasicAuthString

This commit is contained in:
Bogdan
2023-04-30 17:37:26 +03:00
parent 7a7039b1f7
commit db7bb14491
3 changed files with 0 additions and 13 deletions
@@ -47,12 +47,6 @@ namespace NzbDrone.Core.Download
var request = indexer.GetDownloadRequest(url);
request.RateLimitKey = remoteBook?.Release?.IndexerId.ToString();
// TODO: Look into moving download request handling to indexer
if (remoteBook.Release.BasicAuthString.IsNotNullOrWhiteSpace())
{
request.Headers.Set("Authorization", "Basic " + remoteBook.Release.BasicAuthString);
}
nzbData = _httpClient.Get(request).ResponseData;
_logger.Debug("Downloaded nzb for release '{0}' finished ({1} bytes from {2})", remoteBook.Release.Title, nzbData.Length, url);