Removed temporary method from RangeHelper (#230)
This commit is contained in:
parent
8670c223a6
commit
a498a76118
|
|
@ -7,7 +7,6 @@ using System.Linq;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Http.Headers;
|
using Microsoft.AspNetCore.Http.Headers;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Microsoft.Extensions.Logging.Abstractions;
|
|
||||||
using Microsoft.Extensions.Primitives;
|
using Microsoft.Extensions.Primitives;
|
||||||
using Microsoft.Net.Http.Headers;
|
using Microsoft.Net.Http.Headers;
|
||||||
|
|
||||||
|
|
@ -18,15 +17,6 @@ namespace Microsoft.AspNetCore.Internal
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal static class RangeHelper
|
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>
|
/// <summary>
|
||||||
/// Returns the normalized form of the requested range if the Range Header in the <see cref="HttpContext.Request"/> is valid.
|
/// Returns the normalized form of the requested range if the Range Header in the <see cref="HttpContext.Request"/> is valid.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue