civicrm/civicrm-core — pull request #2535 by totten (2014-02-19 01:35:45+00:00)
Title: CRM-13986 - CRM_Core_Invoke - Handle HTML and WS requests differently

For HTML, use the CMS's output mechanism (with its theming, etc) For web
services (or any non-HTML content), use Symfony's output mechanism