diff options
Diffstat (limited to 'src/rest/plugin_rest_config.c')
-rw-r--r-- | src/rest/plugin_rest_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest/plugin_rest_config.c b/src/rest/plugin_rest_config.c index d89c858ee..43dea1b9f 100644 --- a/src/rest/plugin_rest_config.c +++ b/src/rest/plugin_rest_config.c | |||
@@ -175,6 +175,7 @@ get_cont (struct GNUNET_REST_RequestHandle *con_handle, | |||
175 | } | 175 | } |
176 | response = json_dumps (result, 0); | 176 | response = json_dumps (result, 0); |
177 | resp = GNUNET_REST_create_response (response); | 177 | resp = GNUNET_REST_create_response (response); |
178 | MHD_add_response_header (resp, "Content-Type", "application/json"); | ||
178 | handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); | 179 | handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); |
179 | cleanup_handle (handle); | 180 | cleanup_handle (handle); |
180 | GNUNET_free (response); | 181 | GNUNET_free (response); |