luehe 2004/07/28 11:52:17 Modified: http11/src/java/org/apache/coyote/http11 Http11Processor.java Log: Reverted previous patch, because it would reintroduce the problem of sending "image/gif; charset=iso-8859-1", which nobody can read. Revision Changes Path 1.102 +1 -1 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java Index: Http11Processor.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v retrieving revision 1.101 retrieving revision 1.102 diff -u -r1.101 -r1.102 --- Http11Processor.java 28 Jul 2004 00:43:44 -0000 1.101 +++ Http11Processor.java 28 Jul 2004 18:52:17 -0000 1.102 @@ -1450,7 +1450,7 @@ if (!entityBody) { response.setContentLength(-1); } else { - String contentType = response.getContentTypeResponseHeader(); + String contentType = response.getContentType(); if (contentType != null) { headers.setValue("Content-Type").setString(contentType); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]