From ad1116ef7c9edd4d03a500f53c14ef1754503e21 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 6 Jul 2010 22:38:45 +0200 Subject: [PATCH] "show graph json" action: Return the correct MIME type. --- src/action_show_graph_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.11.0