Skip to content

Commit 6e936a4

Browse files
hitchanrstoyanchev
authored andcommitted
Remove absolute URI check from ReactorClientHttpConnector
This allows maknig use of the Unix Domain Socket support in Reactor 1.0. Closes spring-projectsgh-25929
1 parent b2d337c commit 6e936a4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

spring-web/src/main/java/org/springframework/http/client/reactive/ReactorClientHttpConnector.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,6 @@ public ReactorClientHttpConnector(HttpClient httpClient) {
100100
public Mono<ClientHttpResponse> connect(HttpMethod method, URI uri,
101101
Function<? super ClientHttpRequest, Mono<Void>> requestCallback) {
102102

103-
if (!uri.isAbsolute()) {
104-
return Mono.error(new IllegalArgumentException("URI is not absolute: " + uri));
105-
}
106-
107103
AtomicReference<ReactorClientHttpResponse> responseRef = new AtomicReference<>();
108104

109105
return this.httpClient

0 commit comments

Comments
 (0)