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

Change MIME type for XML in the REST API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.9.0
    • 5.9.1, 5.10.0
    • Connector
    • None
    • All supported environments.

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: