You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Arvind Srinivasan <ar...@sun.com> on 2002/06/24 04:56:34 UTC

[PATCH] [TC 4.0.4] Missing charset= in JSP Content-Type headers

JSPs don't seem to be setting the Content-Type header correctly. Have
attached a patch that adds the missing 'charset=' string to the
content-type value.

thx,
 arvind

GET /foo.jsp HTTP/1.0

HTTP/1.1 200 OK
Content-Type: text/html;ISO-8859-1
Connection: close
Date: Mon, 24 Jun 2002 02:07:50 GMT
Server: Apache Tomcat/4.0.4-dev (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=F2343A7E566549F42027165B1896184E;Path=/

<html>

</html>