gionigo
Programmer
- Mar 19, 2009
- 1
Hello,
I have the following scenario in a servlet (tomcat 6.0):
1. Add custom headers.
2. Add Connection: close header.
3. Send content.
4. Close connection.(Server or client should do this)
My problems is this :
If i do this tomcat adds Transfer-Encoding: chunked or
Content-Length headers . I don't want this, can it be overridden ? I dont want any of these headers. Because IE cannot handle chunked content.
Any solution . Even modifying tomcat source ? And if yes what should i modify ?
I have the following scenario in a servlet (tomcat 6.0):
1. Add custom headers.
2. Add Connection: close header.
3. Send content.
4. Close connection.(Server or client should do this)
My problems is this :
If i do this tomcat adds Transfer-Encoding: chunked or
Content-Length headers . I don't want this, can it be overridden ? I dont want any of these headers. Because IE cannot handle chunked content.
Any solution . Even modifying tomcat source ? And if yes what should i modify ?