Re: remove "content-length" http header when header "Transfer-Encoding chunked" exist

2010-07-13 Thread clam715
Thank you for your reply. Please what can I do in my end to fix the problem. markt-2 wrote: > > On 13/07/2010 22:02, clam715 wrote: >> >> I am using tomcat 5.5.27. >> >> All my http response create both http header "content-length" and >> &q

remove "content-length" http header when header "Transfer-Encoding chunked" exist

2010-07-13 Thread clam715
I am using tomcat 5.5.27. All my http response create both http header "content-length" and "Transfer-Encoding chunked". This not valid according to RFC. How can I remove the "content-length" from the header of httpServletResponse? Thank You -- View this message in context: http://

Re: Content length when HTTP Transfer-encoding is chunked

2010-07-13 Thread clam715
I have the same problem. Can anyone tell me how to fix the problem? I try to use filter to remove content-length, however it only work for content-length that is greater than 8k. for page with less than 8k, content-length header will always show up. Thank You Mahesh Seshan wrote: > > Hello,