posted 15 years ago
I need a way to safely ensure that the HTTP Response Header Transfer-Encoding is always chunked.
I can set on to HttpServletResponse the Transfer-Encoding to Chunked via setHeader(“Transfer-Encoding”, “Chunked”). I believe I have to make sure the content-length is not set.
Am I missing anything?
Thanks.
(Background: this is a workaround for neither content-length and Transfer-Encoding "Chunked" being there sometimes. My service provider is willing to work with me on this.)