removed http web request dependency from api project

This commit is contained in:
Luke Pulverenti
2013-08-28 15:55:44 -04:00
parent 7512e3b430
commit 4a29bb012b
5 changed files with 13 additions and 22 deletions

View File

@@ -233,11 +233,7 @@ namespace MediaBrowser.Api.Playback.Progressive
{
responseHeaders["Accept-Ranges"] = "none";
var httpClient = new HttpClient(new WebRequestHandler
{
CachePolicy = new RequestCachePolicy(RequestCacheLevel.BypassCache),
AutomaticDecompression = DecompressionMethods.None
});
var httpClient = new HttpClient();
using (var message = new HttpRequestMessage(HttpMethod.Get, item.Path))
{