reta commented on code in PR #2411: URL: https://github.com/apache/cxf/pull/2411#discussion_r2101258910
########## rt/transports/http/src/main/java/org/apache/cxf/transport/http/HttpClientHTTPConduit.java: ########## @@ -425,6 +425,9 @@ protected void setupConnection(Message message, Address address, HTTPClientPolic } } String verc = (String)message.getContextualProperty(FORCE_HTTP_VERSION); + if (verc == null && "http".equals(uri.getScheme())) { Review Comment: I think you could direct your question towards OpenJDK community (since `HttpClient` is a part of the standard library). If server support H2C, this is a choice of the consumer to use it or not, hence we have a property (FORCE_HTTP_VERSION) here. To your point, I think it does not disambiguate between H2C and H2, this is something we could extend `FORCE_HTTP_VERSION` with. -- 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: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org