In mormot.net.http there is a whitelist which media types can be compressed or not. It can be bypassed by registering compression with aCompressMinSize = 0, but then we lose the ability to skip compression for small content size.
So please add "VND.API+JSON" to the const array "_CONTENTAPP".
JSON:API is a specification for REST/JSON and they registered the media type at IANA.
In mormot.net.http there is a whitelist which media types can be compressed or not. It can be bypassed by registering compression with aCompressMinSize = 0, but then we lose the ability to skip compression for small content size.
So please add "VND.API+JSON" to the const array "_CONTENTAPP".
If you agree, I can create a PR