tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Problems with content type in the response header
Date Sat, 29 Nov 2003 00:14:23 GMT
This problem is also in 4.1.29. The next release of 5 should be soon, unless 
wacky things happen. (No exact date known)

-Tim

Amit Dhar wrote:

> Hi,
> 
> I am using Tomcat 5.0.14
> I have a servlet running under Tomcat.
> Tomcat seems to add character encoding "charset=ISO-8859-1"
> to the content-type in response header.
> A third party program to which my servlet talks to, expects
> only "application/octet-stream" as the response content-type,
> however the error log shows the content-type to be "application/octet-stream;charset=ISO-8859-1".
> 
> I tried to set the content-type explicitly in my servlet using 
> response.setContentType("application/octet-stream");
> but it still appends the "charset=ISO-8859-1" part to it.
> 
> Does any one know why this happens and how I can get rid of it?
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message