mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Sync reactor-netty client response update and uncomment in tests
This commit is contained in:
-1
@@ -65,7 +65,6 @@ public class ReactorClientHttpConnector implements ClientHttpConnector {
|
||||
uri.toString(),
|
||||
httpClientRequest -> requestCallback
|
||||
.apply(new ReactorClientHttpRequest(method, uri, httpClientRequest)))
|
||||
.otherwise(HttpClientException.class, exc -> Mono.just(exc.getResponse()))
|
||||
.map(ReactorClientHttpResponse::new);
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ public class ReactorClientHttpRequest extends AbstractClientHttpRequest {
|
||||
HttpClientRequest httpRequest) {
|
||||
this.httpMethod = httpMethod;
|
||||
this.uri = uri;
|
||||
this.httpRequest = httpRequest;
|
||||
this.httpRequest = httpRequest.failOnClientError(false);
|
||||
this.bufferFactory = new NettyDataBufferFactory(httpRequest.alloc());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user