convert static remote streaming to use internal interfaces

This commit is contained in:
Luke Pulverenti
2014-02-13 11:38:43 -05:00
parent eec9e04825
commit be1ce0f802
9 changed files with 114 additions and 90 deletions

View File

@@ -70,6 +70,8 @@ namespace MediaBrowser.Common.Net
public string RequestContent { get; set; }
public bool BufferContent { get; set; }
private string GetHeaderValue(string name)
{
string value;
@@ -85,6 +87,7 @@ namespace MediaBrowser.Common.Net
public HttpRequestOptions()
{
EnableHttpCompression = true;
BufferContent = true;
RequestHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}