Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h2h3: fix overriding the 'TE: Trailers' header
A 'TE: Trailers' header is explicitly replaced by 'te: trailers' (lowercase) in Curl_pseudo_headers() when building the list of HTTP/2 or HTTP/3 headers. However, this is then replaced again by the original value due to a bug, resulting in the uppercased version being sent. Some HTTP/2 servers reject the whole HTTP/2 stream when this is the case. Closes curl#9170
- Loading branch information