tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanks Wang (hanwan)" <han...@cisco.com>
Subject remove "content-length" item from the http header of HttpServletResponse
Date Wed, 27 Feb 2008 09:22:29 GMT
Hi all,
 
All http response generated by tomcat owns a http header item
"content-length".
 
How can I remove the item from the header of httpServletResponse? 
 
The reason is generate chunked http response, according the RFC, there
should be no content-length item in http header when response is
chunked-encoding.
 
Thanks a lot!
Han
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message