You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
As menstionned here #33311 (comment) guzzle output the request headers (including default headers in configuration).
Unfortunatly even with this PR #35407 we still not collecting all headers : headers defined in configuration are missing!
I just had a look and proposed #43569, which fixes collecting the "debug" info when curl is used and no method is called on response o
8000
bjects.
This does not fix what you describe, but I don't think we can nor should do that.
If you want to know which headers have been sent on the wire, look at this "debug" info instead.
…urlResponse (nicolas-grekas)
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpClient] fix collecting debug info on destruction of CurlResponse
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#43348
| License | MIT
| Doc PR | -
Commits
-------
f0b52c8 [HttpClient] fix collecting debug info on destruction of CurlResponse
Symfony version(s) affected: 5.3.2
Description
As menstionned here #33311 (comment) guzzle output the request headers (including default headers in configuration).
Unfortunatly even with this PR #35407 we still not collecting all headers : headers defined in configuration are missing!
How to reproduce
Possible Solution
Exposing
$defaultHeaders
attribute and get it fromHttpClientTrait
directly as an attribute.Additional context

The text was updated successfully, but these errors were encountered: