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?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to