allow request header overrides

This commit is contained in:
Luke Pulverenti
2013-09-17 22:43:34 -04:00
parent 06c611dd50
commit 60780399c5
34 changed files with 213 additions and 140 deletions

View File

@@ -4,7 +4,6 @@ using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
@@ -84,7 +83,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
/// </summary>
private void SetRangeValues()
{
var requestedRange = RequestedRanges.First();
var requestedRange = RequestedRanges[0];
TotalContentLength = SourceStream.Length;