mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
Don't compress binary responses
This commit is contained in:
parent
db575695e9
commit
4207260657
@@ -77,6 +77,11 @@ namespace MediaBrowser.Common.Net.Handlers
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool ShouldCompressResponse(string contentType)
|
||||
{
|
||||
return SerializationFormat != Handlers.SerializationFormat.Protobuf;
|
||||
}
|
||||
}
|
||||
|
||||
public enum SerializationFormat
|
||||
|
||||
Reference in New Issue
Block a user