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] Created: (UIMA-1890) SimpleServer does not set content-type header
Date Mon, 04 Oct 2010 18:20:32 GMT
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

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.

View raw message