projects
/
collection4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d746867
)
"show graph json" action: Return the correct MIME type.
author
Florian Forster
<ff@octo.it>
Tue, 6 Jul 2010 20:38:45 +0000
(22:38 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 6 Jul 2010 20:38:45 +0000
(22:38 +0200)
src/action_show_graph_json.c
patch
|
blob
|
history
diff --git
a/src/action_show_graph_json.c
b/src/action_show_graph_json.c
index
402627c
..
a1cf011
100644
(file)
--- 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/plai
n\n");
+ printf ("Content-Type:
application/jso
n\n");
now = time (NULL);
status = time_to_rfc1123 (now + 300, time_buffer, sizeof (time_buffer));