@Deprecated
    public static URI rewriteURI(
            final URI uri,
            final HttpHost target) throws URISyntaxException {
        return rewriteURI(uri, target, false);
    }
A convenience method for
{@link URIUtils#rewriteURI(URI, HttpHost, boolean)} that always keeps the
fragment.

@deprecated Use {@link URIBuilder}.
httpclient5/src/main/java/org/apache/hc/client5/http/utils/URIUtils.java