Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4856

Change MIME type for XML in the REST API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.9.1, 5.10.0
    • Component/s: Connector
    • Labels:
      None
    • Environment:

      All supported environments.

    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

        1. activemq.patch
          1 kB
          Fernando Ribeiro

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              fribeiro Fernando Ribeiro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: