Skip to content

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

Open
ramon-nijman wants to merge 6 commits into
elastic:mainfrom
ramon-nijman:feature/removing-Accept-Encoding-header-when-using-symfony-http-client
Open

Feature/removing accept encoding header when using symfony http client#37
ramon-nijman wants to merge 6 commits into
elastic:mainfrom
ramon-nijman:feature/removing-Accept-Encoding-header-when-using-symfony-http-client

Conversation

@ramon-nijman

Copy link
Copy Markdown

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
Copy Markdown
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

cla-checker-service Bot commented Jun 1, 2023

Copy link
Copy Markdown

💚 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

ezimuel commented Aug 17, 2023

Copy link
Copy Markdown
Contributor

@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
Copy Markdown

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