uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Grivolla (JIRA)" <...@uima.apache.org>
Subject [jira] Updated: (UIMA-1890) SimpleServer does not set content-type header
Date Thu, 20 Jan 2011 13:34:45 GMT

     [ 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.


Mime
View raw message