Servlets should default to text/plain
-------------------------------------

                 Key: HADOOP-7093
                 URL: https://issues.apache.org/jira/browse/HADOOP-7093
             Project: Hadoop Common
          Issue Type: Bug
          Components: io
    Affects Versions: 0.22.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
             Fix For: 0.22.0


In trunk the servlets like /stacks and /metrics are returning text/html 
content-type instead of text/plain. Security wise it's much safer to default to 
text/plain and require servlets to explicitly set the content-type to text/html 
when required.

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