Commit a24701a0 by 赵天增

可接受的请求头

parent e0b911f9
...@@ -87,8 +87,7 @@ public class InstanceWebClient { ...@@ -87,8 +87,7 @@ public class InstanceWebClient {
WebClient.Builder builder = WebClient.builder() WebClient.Builder builder = WebClient.builder()
.clientConnector(connector) .clientConnector(connector)
.defaultHeader(HttpHeaders.ACCEPT, ActuatorMediaType.V2_JSON, .defaultHeader(HttpHeaders.ACCEPT, MediaType.APPLICATION_JSON_VALUE);
ActuatorMediaType.V1_JSON, MediaType.APPLICATION_JSON_VALUE);
customizer.customize(builder); customizer.customize(builder);
return builder.build(); return builder.build();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment