I'm making simple http service with Spring Boot RestController, and what I was found, when I try to request via GET Json object I didn't get content-length in header and transfer-encoding becomes chunked.
With simple ResponseEntit<String>
all headers set as expected.
What kind of problem may lead to this behavior?