Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat Header Modify

Status
Not open for further replies.

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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top