Fernando Ribeiro created AMQ-4856:
-------------------------------------

             Summary: Appropriate MIME type for XML in the REST API
                 Key: AMQ-4856
                 URL: https://issues.apache.org/jira/browse/AMQ-4856
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Connector
    Affects Versions: 5.9.0
         Environment: All supported environments.
            Reporter: Fernando Ribeiro
            Priority: Minor


According to RFC 3023, "if an XML document is readable by casual users, 
text/xml is preferable to application/xml. MIME user agents (and web user 
agents) that do not have explicit support for text/xml will treat it as 
text/plain, for example, by displaying the XML MIME entity as plain text. 
Application/xml is preferable when the XML MIME entity is unreadable by casual 
users".

Several other projects supported by Red Hat (Drools, Infinispan, OpenShift) 
already comply with this RFC.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to