From: Florian Forster Date: Tue, 6 Jul 2010 20:38:45 +0000 (+0200) Subject: "show graph json" action: Return the correct MIME type. X-Git-Tag: v4.0.0~135 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ad1116ef7c9edd4d03a500f53c14ef1754503e21;p=collection4.git "show graph json" action: Return the correct MIME type. --- 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));