Support custom HTTP method for @HttpExchange
Closes gh-28504
This commit is contained in:
@@ -86,7 +86,7 @@ public class WebClientAdapter implements HttpClientAdapter {
|
||||
private WebClient.RequestBodySpec toBodySpec(HttpRequestValues requestValues) {
|
||||
|
||||
HttpMethod httpMethod = requestValues.getHttpMethod();
|
||||
Assert.notNull(httpMethod, "No HttpMethod");
|
||||
Assert.notNull(httpMethod, "HttpMethod is required");
|
||||
|
||||
WebClient.RequestBodyUriSpec uriSpec = this.webClient.method(httpMethod);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user