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

Fix to Mailchimp failing to respond to Expect: 100-Continue headers #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rkingy
Copy link

@rkingy rkingy commented Jul 6, 2022

Description of change:

We discovered in the past week that Mailchimp does not respond to large patch payloads.
Further digging discovered that php curl is automatically adding the Expect: 100-continue header to the request which was causing the majority of our Patch requests to fail.

Description of implementation:

To fix this we have set an empty Expect: in the get headers function.

Risks & Mitigation:

Unit test written..

rkingy added 2 commits July 6, 2022 17:40
Php Curl automatically adds this header, which causes Mailchimp to reject the api call.
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.

1 participant