[ https://issues.apache.org/jira/browse/JCR-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911143#comment-17911143 ]
Julian Reschke commented on JCR-5122: ------------------------------------- But note that if we ever want to take advanage of 1xx responses - such as for Early Hints - the JDK client will not be sufficient. > Get rid of Apache HTTP Client dependency > ---------------------------------------- > > Key: JCR-5122 > URL: https://issues.apache.org/jira/browse/JCR-5122 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-spi2dav, jackrabbit-webdav > Reporter: Konrad Windszus > Priority: Major > > Instead of Apache HTTP Client (in the outdated 4.5.x version) we should > leverage the Java-built-in HTTP Client: > https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html > See also https://hc.apache.org/status.html > bq. Users of HttpClient 4.x are strongly encouraged to migrate to HttpClient > 5.x > Such a change cannot be backwards-compatible as the exposed API (e.g. > https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/BaseDavRequest.java) > leverages Apache HTTP Components classes (most prominently extends > {{org.apache.http.client.methods.HttpEntityEnclosingRequestBase}}). -- This message was sent by Atlassian Jira (v8.20.10#820010)