1

I using an API which compresses the response with brotli, the google chrome automatically uncompressing and showing the response. But flutter is showing compressed code which is encoded with br.

Lemme know how to uncompress the response. Any help is appreciated. Thanks.

Jestin
  • 578
  • 5
  • 10

1 Answers1

0

As an alternative you can pass the Accept-Encoding: gzip header and get the response in Gzip format which is automatically uncompressed by the HTTP client.

Patrick
  • 3,578
  • 5
  • 31
  • 53