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

View File

@@ -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)
{