XFire
  1. XFire
  2. XFIRE-1136

XFireServletController adds invalid and useless HTTP header

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            Klaus Kröner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: