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
bug symfony#48966 [HttpClient] Let curl handle content-length headers (nicolas-grekas)
This PR was merged into the 5.4 branch.
Discussion
----------
[HttpClient] Let curl handle content-length headers
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fixsymfony#47973, symfony#46499, symfony#46823
| License | MIT
| Doc PR | -
I'm not sure why (maybe some older and buggy curl versions?) but it looks like curl might send content-length headers to proxies.
This didn't happen before symfony#45261 so I'm trying to use curl in the same was as we did by the time, aka letting it handle content-length header when possible.
This is something that I already attempted in symfony#45814 but was partly reverted in symfony#45998. The attached patch is free from such issue.
Commits
-------
5b27dc2 [HttpClient] Let curl handle content-length headers
0 commit comments