Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3859

On the rest interface, the json does have a xml mime type

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1.2, 2.1
    • Fix Version/s: 2.1.4
    • Component/s: None
    • Labels:
      None

      Description

      revision 18212

      if ($_GET['json'])
      header( 'Content-Type: text/javascript' );
      else
      header( 'Content-Type: text/xml' );

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: