DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36790>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36790


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From [EMAIL PROTECTED]  2005-09-25 10:10 -------
For crying out loud, you quoted the part of the spec that requires this
behaviour in comment #2. Please, just read the spec.

<spec-quote section="SRV.5.2">
The setCharacterEncoding, setContentType, and setLocale methods can be called
repeatedly to change the character encoding ... Calls to setContentType set the
character encoding only if the given content type string provides a value for
the charset attribute.
</sepc-quote>

Therefore, response.setContentType("text/html; charset=utf-8"); sets the
character encoding and response.setContentType("application/x-foobar"); does not
change it.

This is not a bug. If you re-open this bug again, it is just going to be closed
again with no further comment.

If you have further questions about this, then please ask them on the
tomcat-user mailing list although to be perfectly frank you could save yourself
some time by reading the spec.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to