From 85e227151bc7d02a625ecf8f61d4567e8b455f67 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 22 Mar 2011 16:52:14 -0700 Subject: [PATCH] use correct mime type for json --- mod/uexport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/uexport.php b/mod/uexport.php index fdd7fcec64..96f062c41c 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -38,7 +38,7 @@ function uexport_init(&$a) { $output = array('user' => $user, 'contact' => $contact, 'profile' => $profile ); - header("Content-type: text/json"); + header("Content-type: application/json"); echo str_replace('\\/','/',json_encode($output)); $r = q("SELECT count(*) as `total` FROM `item` WHERE `uid` = %d ",