Right now aws provider just supports gzip and deflate in BINARY_ENCODINGShere. So if I compress my resources using brotli the API Gateway messes up with the response before it is sent to client and the client is unable to decode it.
The proposal is to add br to the list of BINARY_ENCODINGS so that if the Accept-Encoding header has brotli br in it, the response should be sent as base64 encoded strings.
Right now aws provider just supports
gzip
anddeflate
inBINARY_ENCODINGS
here. So if I compress my resources usingbrotli
the API Gateway messes up with the response before it is sent to client and the client is unable to decode it.The proposal is to add
br
to the list ofBINARY_ENCODINGS
so that if theAccept-Encoding
header has brotlibr
in it, the response should be sent as base64 encoded strings.