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

[10.x] Allow headers to be replaced on the HTTP client. #47335

Merged
merged 3 commits into from Jun 3, 2023

Conversation

timacdonald
Copy link
Member

This PR allows headers to be replaced when working with a Pending HTTP Request.

withHeaders does a recursive merge, which I feel is the expected behaviour, however it may be useful to replace the headers.

Fixes #47313

@taylorotwell taylorotwell merged commit cb9c4c6 into laravel:10.x Jun 3, 2023
16 checks passed
@timacdonald timacdonald deleted the replace-headers branch June 3, 2023 03:07
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.

Override request header in Http Client
2 participants