mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Updated HttpResponse to support binary content.
This commit is contained in:
@@ -52,10 +52,7 @@ namespace NzbDrone.Core.Download
|
||||
|
||||
try
|
||||
{
|
||||
using (var nzb = _httpClient.Get(new HttpRequest(url)).GetStream())
|
||||
{
|
||||
nzbData = nzb.ToBytes();
|
||||
}
|
||||
nzbData = _httpClient.Get(new HttpRequest(url)).ResponseData;
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user