Merge pull request #1578 from Bond-009/httpresponse

Replace custom code with Asp.Net Core code
This commit is contained in:
dkanada
2019-08-09 23:26:10 -07:00
committed by GitHub
18 changed files with 372 additions and 1252 deletions

View File

@@ -1,5 +1,6 @@
using System;
using MediaBrowser.Model.Services;
using Microsoft.AspNetCore.Http;
namespace MediaBrowser.Controller.Net
{
@@ -33,7 +34,7 @@ namespace MediaBrowser.Controller.Net
/// <param name="request">The http request wrapper</param>
/// <param name="response">The http response wrapper</param>
/// <param name="requestDto">The request DTO</param>
public void RequestFilter(IRequest request, IResponse response, object requestDto)
public void RequestFilter(IRequest request, HttpResponse response, object requestDto)
{
AuthService.Authenticate(request, this);
}