Explorar o código

Update ServiceHandler.cs

BaronGreenback %!s(int64=5) %!d(string=hai) anos
pai
achega
06beecc4f8
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Emby.Server.Implementations/Services/ServiceHandler.cs

+ 2 - 1
Emby.Server.Implementations/Services/ServiceHandler.cs

@@ -78,7 +78,8 @@ namespace Emby.Server.Implementations.Services
             var request = await CreateRequest(httpHost, httpReq, _restPath, logger).ConfigureAwait(false);
 
             httpHost.ApplyRequestFilters(httpReq, httpRes, request);
-
+            
+            httpRes.HttpContext.Items["ServiceStackRequest"] = httpReq;
             var response = await httpHost.ServiceController.Execute(httpHost, request, httpReq).ConfigureAwait(false);
 
             // Apply response filters