From a1581477b84c7bb965a901e6caa074d4dfdb3d02 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 6 Jul 2013 20:56:48 -0700 Subject: [PATCH] fixed gzip for static resource. --- NzbDrone.Api/Frontend/StaticResourceProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Api/Frontend/StaticResourceProvider.cs b/NzbDrone.Api/Frontend/StaticResourceProvider.cs index 1c0c55338..19ee7f5d1 100644 --- a/NzbDrone.Api/Frontend/StaticResourceProvider.cs +++ b/NzbDrone.Api/Frontend/StaticResourceProvider.cs @@ -59,7 +59,7 @@ namespace NzbDrone.Api.Frontend response.Headers.DisableCache(); } - return response; + return response.CompressResponse(context.Request); } _logger.Warn("File {0} not found", filePath);