Don't compress binary responses

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-30 21:30:33 -04:00
parent db575695e9
commit 4207260657
3 changed files with 7 additions and 3 deletions

View File

@@ -77,6 +77,11 @@ namespace MediaBrowser.Common.Net.Handlers
break;
}
}
public override bool ShouldCompressResponse(string contentType)
{
return SerializationFormat != Handlers.SerializationFormat.Protobuf;
}
}
public enum SerializationFormat