Merge pull request #7 from bountin/content_type

Correcting content type from text/json to application/json
This commit is contained in:
Torsten Stelling
2013-06-29 06:55:52 -07:00

View File

@@ -730,7 +730,7 @@ class FeverAPI extends Handler {
if ($this->xml)
header("Content-Type: text/xml");
else
header("Content-Type: text/json");
header("Content-Type: application/json");
// check we have a valid user
if (!$_SESSION["uid"]) {