You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jens Grivolla (JIRA)" <de...@uima.apache.org> on 2011/01/20 14:34:45 UTC

[jira] Updated: (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 ]

Jens Grivolla updated UIMA-1890:
--------------------------------

    Attachment: SimpleServer-contenttype.patch

patch to add content-type headers (git-diff format, hopefully similar enough to svn diff)

> 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
>         Attachments: SimpleServer-contenttype.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.
-
You can reply to this email to add a comment to the issue online.