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=6223>.
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=6223

setContentType changes HTTP headers to type specfied

           Summary: setContentType changes HTTP headers to type specfied
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HTTP/1.1 Connector
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I do a setContentType("text/xml;charset=UnicodeLittle") on the response object 
and the response headers are returned in UnicodeLittle not ASCII.  If I'm not 
mistaken the RFC2616 says they should be ASCII.  I only expected the body of 
the request to be UnicodeLittle not the headers and status line.  To make 
things more confusing the chunk encoding lines are in ASCII and not 
UnicodeLittle.  If the status line is encoding along the headers I expected the 
whole response to be encoded.

Thanks for any help.

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

Reply via email to