I tried to reproduce this issue in a repro project but couldn't.
It seems the response comes with an HTTP response status of value "0" which breaks the parsing algorithm. I'd like to know where this value is coming from.
Could you provide more information about this?
application logs with org.springframework.web at DEBUG level
HTTP request + HTTP response (headers)
Also, could you take a look at this project and try to reproduce this issue?