Skip to content
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

Feature/removing accept encoding header when using symfony http client #37

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ramon-nijman
Copy link

This PR removing the Accept-Encoding: gzip header when using the Symfony HTTP client.

This is needed due to the Symfony behaviour reported here.

This is the same issue like here.

ezimuel and others added 5 commits April 4, 2023 21:55
#
# Hier eventueel een uitleg over de wijziging ten op zichte van de
# vorige versie max. 72 tekens per regel.
#
# Eventuele breaking changes hier vermelden en ook verwijzingen naar
# tickets en andere resources.
# Jira #WST-123
# Zie ook: http://podio.com/webstores/klant/stories/432
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented Jun 1, 2023

💚 CLA has been signed

@ramon-nijman ramon-nijman changed the base branch from 8.8 to 8.7 June 1, 2023 12:54
@ramon-nijman ramon-nijman changed the base branch from 8.7 to main June 1, 2023 13:04
@ezimuel
Copy link
Contributor

ezimuel commented Aug 17, 2023

@ramon-nijman-webstores thanks for the PR and sorry for my late reply. This is related with #38. I think we should first merge #38 and after merge this PR in the if condition. WDYT? Thanks.

@jasongill
Copy link

I made some suggestions here on possible cleaner ways to fix this issue.

The solution presented in this PR isn't bad, but what if it was made into a "whitelist" (or blacklist) of clients instead of being hard coded just to check for Symfony? Obviously that could get messy and turn into a maintenance headache but it may be better than the current state which appears to be causing confusion and support tickets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants