0

When I hit the external service using a rest template getting an additional parameter "transfer-encoding: chunked". .It's not making any difference for the JSON response. But when I am doing any file download the download size coming as 0 KB (without any content).

HTTP/1.1 200 OK
content-type: image/png
transfer-encoding: chunked

Is there any configuration to avoid this attribute in the Spring boot rest template?

Rauf Aghayev
  • 192
  • 12
shijas -
  • 13
  • 2

0 Answers0