micolous commented on issue #6352:
URL: https://github.com/apache/arrow-rs/issues/6352#issuecomment-2433864844

   > Of course one could argue that `reqwest` or `h2` should de-duplicate the 
headers properly.
   
   There was a [PR to automatically remove the host header on a library 
level](https://github.com/hyperium/h2/pull/679), but it was rejected because it 
is legal to send both the `Host` and `:authority` headers, and could because of 
a proxy forwarding a HTTP/1.1 request.
   
   The spec just says they may not *differ*. 
   
   However, it is *unnecessary* for a client to send both headers.
   
   It looks like it would be trivial for `arrow-rs` to fix this issue. 😄 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to