Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4712

remove hardcoded setting of content-type to text/xml from AxisServlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.5, 1.6.0
    • transports
    • None

    Description

      AxisServlet contains a call to setContentType after the response has been written which may cause the content type to be overwritten with "text/xml". Normally this does not seem to interfere with the response because it has already been written, but it has been shown to cause problems when responses are being cached. Suggest to only force content-type to "text/xml" if the response has not yet been written.

      Attachments

        1. AXIS2-4712.patch
          1 kB
          Lori Van Gulick

        Issue Links

          Activity

            People

              scheu@us.ibm.com Rich Scheuerle
              lorivg Lori Van Gulick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: