WebClient not using HTTP2 unless explicitly specified #9901
Unanswered
dekelpilli
asked this question in
Q&A
Replies: 3 comments 7 replies
-
I am not a Clojure user/expert so don't understand it as well. Our document https://helidon.io/docs/latest/se/webclient section "Protocol Used" explains when/how the protocols are used/upgraded. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Also, this thread #8828 may be worth a look. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is interesting, let's break it down.
Class clz = client.method(Method.GET)
.uri(uri)
.queryParam("test", "test")
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're just starting out with using Helidon for our HTTP clients across our stack. I'm not sure what we're doing wrong in trying to get it to default to HTTP/2 when possible, with a fallback to HTTP/1.1 when the server does not support HTTP2. I'm using
helidon-webclient-http2
version4.2.0
.These examples are in Clojure, but I've stuck to directly using Java methods in these examples
This behaviour is consistent across HTTP and HTTPS, and I'm not sure what I'd need to do to make it default to HTTP2 when the server supports this. The above examples remain the same even if I explicitly define the protocol priority:
Beta Was this translation helpful? Give feedback.
All reactions