When sending packets with http 2.0, there is a problem that the host value is continuously transmitted. #2781
-
Hello I am korean. In http version 1, host is the default, but Is there any way to exclude the host value when sending packets with http2? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @neospider84 I'm going to transfer this to a "Discussion" instead of an issue since it's a question. Could you provide an example that demonstrates what's happening and what you're looking for? |
Beta Was this translation helpful? Give feedback.
-
Thank you for answer. Is there a way to exclude the host when sending packets with the http2 version using httpx??? |
Beta Was this translation helpful? Give feedback.
You don't need to.
The request will automatically use either an
:authority
header for HTTP/2 or aHost
header for HTTP/1.1.