From 6e936a408195f95d41f3463bb93e255218493664 Mon Sep 17 00:00:00 2001 From: Nick Hitchan Date: Sat, 17 Oct 2020 13:03:56 -0400 Subject: [PATCH] Remove absolute URI check from ReactorClientHttpConnector This allows maknig use of the Unix Domain Socket support in Reactor 1.0. Closes gh-25929 --- .../http/client/reactive/ReactorClientHttpConnector.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java index ec3021049cc7..8112ecf6442e 100644 --- a/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java +++ b/spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java @@ -100,10 +100,6 @@ public ReactorClientHttpConnector(HttpClient httpClient) { public Mono connect(HttpMethod method, URI uri, Function> requestCallback) { - if (!uri.isAbsolute()) { - return Mono.error(new IllegalArgumentException("URI is not absolute: " + uri)); - } - AtomicReference responseRef = new AtomicReference<>(); return this.httpClient