-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpClient] Gzipped data isn't inflated #34238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
can you |
Are you using the curl client or the native client ? |
@stof the client injected into my command is Here is the dump, @nicolas-grekas:
Thank you very much for the quick reply :) |
OK thanks. |
I am not explicitly setting that header in my request |
Here is my framework config:
and here is all my code right now:
|
Strange, then I have no idea - could it be an issue with your build of curl? |
I can retrieve that url with doing anything manually. |
The issue: when the client sends |
Thank you very much, @nicolas-grekas! |
Just updated to |
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:
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:
The text was updated successfully, but these errors were encountered: