Skip to content

The Free Software Media System - Server Backend & API

Looks like we can compress protobuf output after all

LukePulverenti Luke Pulverenti luke pulverenti6d8c61f6a8b4
diff --git a/MediaBrowser.Common/Net/Handlers/BaseSerializationHandler.cs b/MediaBrowser.Common/Net/Handlers/BaseSerializationHandler.cs
index 212c731b7a..1a366c158f 100644
--- a/MediaBrowser.Common/Net/Handlers/BaseSerializationHandler.cs
+++ b/MediaBrowser.Common/Net/Handlers/BaseSerializationHandler.cs
@@ -77,11 +77,6 @@ namespace MediaBrowser.Common.Net.Handlers
break;
}
}
-
- public override bool ShouldCompressResponse(string contentType)
- {
- return SerializationFormat != Handlers.SerializationFormat.Protobuf;
- }
}
public enum SerializationFormat