Support Brotli compression in policy expressions
API Management policies cannot access a Brotli-compressed HTTP response body, e.g. to read it as JSON. In case the backend server responds with a br-compressed message the policy which attempts to read the body throws an exception saying the response body is unreadable.
When using the "test" tab in Azure Portal the trace shows a message like:
compression (0.087 ms)
'Compression 'br' not supported'
However, the test tab itself by default sends requests with the following header:
Please add brotli (de)compression to API Management policies.