Closed everpcpc closed 1 year ago
Thanks for the PR!
As I mentioned in the linked reqwest issue, since it's legal to send both an :authority
and host
header, with the spec even explicitly saying "intermediaries MAY forward them on", then h2
should not remove them.
ref: #548 https://github.com/seanmonstar/reqwest/issues/1809
http2 server in google is strict with headers, and a request with
HOST
in header fields would result inPROTOCOL_ERROR
, which is not able to be handled well in hyper and other upper http client libraries.