Replies: 1 comment
-
i'm doing this via implementing a custom connector with a fixed remote server, but not sure if it's the ideal way of doing this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current behavior is, when a request is sent to, for example, "example.com", the H2 request pseudo header
:authority
is set to that value, derived from theUri
.while in HTTP/1.1 I can easily send a request to "example.com" with a
Host
header to a different value.but the H2 API doesn't allow me to set the
:ahtority
header directly, and it can only be derived from the Uri, changing the authority of which, will cause the request to ben sent to a wrong place.How do I do that in hyper?
Beta Was this translation helpful? Give feedback.
All reactions