XFireServletController adds invalid and useless HTTP header -----------------------------------------------------------
Key: XFIRE-1136 URL: http://jira.codehaus.org/browse/XFIRE-1136 Project: XFire Issue Type: Bug Components: Core Affects Versions: 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2 Reporter: Klaus Kröner Assignee: Dan Diephouse In XFireServletController.java, method doService, there is a line: response.setHeader("Content-Type", "UTF-8"); This results in the following line in the http header: Content-Type: UTF-8 This causes a problem for us, because we have already a correct content type line ("Content-Type: text/xml; charset=UTF-8") in the header, which is, as I suppose, created by the tomcat server we use. So the Content-Type line is duplicate and maybe wrong as well. If you have a look at http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 , I'm not sure that setting it simply to "UTF-8" is a valid value. I think the line should be either left out or be made optional. For my case, it would be best to have an XFire which does add this line to the http header. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email