@Override
    public ClientHttpResponse intercept(final HttpRequest request, final byte[] body, final ClientHttpRequestExecution execution)
            throws IOException {
        // Send json by default
        HttpHeaders headers = request.getHeaders();
        if (Objects.isNull(headers.getContentType())) {
            headers.setContentType(MediaType.APPLICATION_JSON);
        }
        // Use short links     
        headers.add(HttpHeaders.CONNECTION, "close");
        return execution.execute(request, body);
    }
Rest Template interceptor adds request header information.
shenyu-alert/src/main/java/org/apache/shenyu/alert/config/HeaderRequestInterceptor.java