Skip to content

Conversation

pascalbaljet
Copy link
Contributor

In the createRequestOptions() method of the HttpSender class, the headers from the PSR Request are added to the config store. This would overwrite any headers that have already been set on the config, for example, from the defaultConfig() method of a Connector.

With this PR, it merges both the PSR Request headers and headers that already were present in the config store.

Copy link
Member

@Sammyjo20 Sammyjo20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR!

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.

2 participants