You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2011/08/23 23:57:29 UTC

[jira] [Closed] (UIMA-1890) SimpleServer does not set content-type header

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

Marshall Schor closed UIMA-1890.
--------------------------------


> SimpleServer does not set content-type header
> ---------------------------------------------
>
>                 Key: UIMA-1890
>                 URL: https://issues.apache.org/jira/browse/UIMA-1890
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-SimpleServer
>            Reporter: Jens Grivolla
>            Priority: Minor
>             Fix For: 2.3.1Addons
>
>         Attachments: SimpleServer-contenttype.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The content-type header is not set which creates problems in some settings (e.g. when behind a rewriting proxy).
> Putting response.setHeader("content-type","text/xml") (or "text/html" depending on mode) in SimpleServerServlet.doGet/doPost seems to fix the problem.
> Don't know if SimpleUimaAsService is also affected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira