1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-25 22:37:27 -04:00

Updated HttpResponse to support binary content.

This commit is contained in:
Taloth Saldono
2014-09-13 00:39:42 +02:00
parent 56436fea69
commit 80ed203258
6 changed files with 68 additions and 26 deletions
@@ -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)
{