axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lori VanGulick (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4712) remove hardcoded setting of content-type to text/xml from AxisServlet
Date Thu, 13 May 2010 19:46:42 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lori VanGulick updated AXIS2-4712:
----------------------------------

    Attachment: AXIS2-4712.patch

Attached patch with fix for this problem

> remove hardcoded setting of content-type to text/xml from AxisServlet
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-4712
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4712
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>            Reporter: Lori VanGulick
>            Assignee: Rich Scheuerle
>         Attachments: AXIS2-4712.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message