Removed temporary method from RangeHelper (#230)

This commit is contained in:
Kiran Challa 2018-01-09 10:37:54 -08:00 committed by GitHub
parent 8670c223a6
commit a498a76118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -7,7 +7,6 @@ using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Headers;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
@ -18,15 +17,6 @@ namespace Microsoft.AspNetCore.Internal
/// </summary>
internal static class RangeHelper
{
// Is temporary to avoid build break
public static (bool isRangeRequest, RangeItemHeaderValue range) ParseRange(
HttpContext context,
RequestHeaders requestHeaders,
long length)
{
return ParseRange(context, requestHeaders, length, NullLogger.Instance);
}
/// <summary>
/// Returns the normalized form of the requested range if the Range Header in the <see cref="HttpContext.Request"/> is valid.
/// </summary>