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.

Reply via email to