tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10230] New: - charset used to output HTTP header
Date Tue, 25 Jun 2002 21:41:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10230>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10230

charset used to output HTTP header

           Summary: charset used to output HTTP header
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dsontag@google.com


Within our application we call setContentType with charset equal to UTF-16LE.
Tomcat uses this charset when outputing the HTTP header (in addition to the
body), preventing most browsers from recognising the header as an actual header.

Solution: within HttpResponseBase's sendHeaders() method
[src/catalina/src/share/org/apache/catalina/connector], change line 578 to read
 new OutputStreamWriter(getStream()); -- i.e. don't include the new character
encoding.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message