diff --git a/arex-schedule-web-api/src/main/java/com/arextest/schedule/sender/httprequest/AbstractHttpRequestBuilder.java b/arex-schedule-web-api/src/main/java/com/arextest/schedule/sender/httprequest/AbstractHttpRequestBuilder.java index 5620c3fb..9262947b 100644 --- a/arex-schedule-web-api/src/main/java/com/arextest/schedule/sender/httprequest/AbstractHttpRequestBuilder.java +++ b/arex-schedule-web-api/src/main/java/com/arextest/schedule/sender/httprequest/AbstractHttpRequestBuilder.java @@ -35,6 +35,7 @@ protected HttpHeaders createRequestHeaders(Map sourceHeaders, St contentType = contentType(format); } httpHeaders.setContentType(contentType); + httpHeaders.remove(HttpHeaders.CONTENT_LENGTH); return httpHeaders; }