X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Faction_show_graph_json.c;h=a1cf011c48345cb6e1058b604ee8f8ba6d0a1f93;hb=50d5299ef04975d005f86a0ec8a0556969129cd1;hp=402627ce36eb7e9a810ebd1e5698bca6de057473;hpb=d746867e2a940a8f752e781c866243f775777338;p=collection4.git diff --git a/src/action_show_graph_json.c b/src/action_show_graph_json.c index 402627c..a1cf011 100644 --- a/src/action_show_graph_json.c +++ b/src/action_show_graph_json.c @@ -105,7 +105,7 @@ int action_show_graph_json (void) /* {{{ */ return (ENOMEM); } - printf ("Content-Type: text/plain\n"); + printf ("Content-Type: application/json\n"); now = time (NULL); status = time_to_rfc1123 (now + 300, time_buffer, sizeof (time_buffer));