79652740

Date: 2025-06-04 12:24:15
Score: 1
Natty:
Report link

I found a solution i dont know why it works now, but it works i guess Adding this to my RestClient

.requestInterceptor(new ClientHttpRequestInterceptor() {
    @Override
    public ClientHttpResponse intercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) throws IOException {
        log.info(request.toString());
        return execution.execute(request, body);
    }
})

Somehow works also it removed the Transfer-Encoding header

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Phil