]> git.mxchange.org Git - friendica.git/commitdiff
use correct mime type for json
authorFriendika <info@friendika.com>
Tue, 22 Mar 2011 23:52:14 +0000 (16:52 -0700)
committerFriendika <info@friendika.com>
Tue, 22 Mar 2011 23:52:14 +0000 (16:52 -0700)
mod/uexport.php

index fdd7fcec64d4aaf0d1d757c8ddda1c1e0411f6f5..96f062c41cb03d36e0d415e3ac16f58bf1e3f1a2 100644 (file)
@@ -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 ",