-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
Symfony version(s) affected: 4.3
Description
When I request json data from Microsofts Business Central, i.e. https://api.businesscentral.dynamics.com I get gzipped data back, but the Symfony HTTP client doesn't inflate it.
I can do something like this:
$response = $this->client->request('GET', $url);
$data = gzinflate($response->getContent());and that works. My question is whether it is intended that I should do this myself or not? The headers in the response has this in them:
[content-encoding] => Array (
[0] => gzip
)