From 00bafd8681091d39ae1cd43f09f3feeb114e1a5a Fri, 27 Apr 2012 14:03:43 -0400
From: Richard A. Allen <richard.alexander.allen@gmail.com>
Date: Fri, 27 Apr 2012 13:54:59 -0400
Subject: [PATCH] Issue #1551016 by AlexanderAllen: Substitute drupal_set_header() with drupal_add_http_header().

diff --git a/views/theme/views-views-json-style-exhibit.tpl.php b/views/theme/views-views-json-style-exhibit.tpl.php
index 5381463..31f63fa 100644
--- a/views/theme/views-views-json-style-exhibit.tpl.php
+++ b/views/theme/views-views-json-style-exhibit.tpl.php
@@ -30,7 +30,7 @@
     // We want to send the JSON as a server response so switch the content
     // type and stop further processing of the page.
     $content_type = ($options['content_type'] == 'default') ? 'application/json' : $options['content_type'];
-    drupal_set_header("Content-Type: $content_type; charset=utf-8");
+    drupal_add_http_header("Content-Type", $content_type. '; charset=utf-8');
     print $json;
     //Don't think this is needed in .tpl.php files: module_invoke_all('exit');
     exit;