tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Field-Elliot <bryan_li...@netmeme.org>
Subject How to strip ;charset from Content-Type on 4.1.29?
Date Fri, 14 Nov 2003 15:08:13 GMT
When I call from a Servlet:

response.setContentType("text/xml");

Tomcat changes the header to read:

Content-Type: text/xml;charset=ISO-8859-1

The ;charset is killing us interoping with another vendor and they can't
change their code. I've tried:

response.setLocale(null);

but it bombs Tomcat.

This is Tomcat 4.1.29.

Any help would be appreciated.

Bryan



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