title: Content-Length and Transfer-Encoding headers in Spring MVC
body: <p>I'm using Spring MVC and get Transfer-Encoding header in all responses. AFAIK it tells that the response is partial. But at the same time I get all the data, no problems at all. I've found that to disable Transfer-Encoding header generation Content-Length header should be added to response and <code>ShallowEtagHeaderFilter</code> filter can help with it. But this filter's purpose is different: to use ETags.</p>
  
  <p>I would like to know is there any problem having Transfer-Encoding header? In which cases I can run into troubles? Is it considered as bad practice, if so why? </p>
  
  <p>Thank you in advance very much!</p>