aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-09 20:50:48 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-09 20:50:48 +0200
commitd528c78ecfa75878e1bb4ea605bcafbbb2e63371 (patch)
tree8f1987fd32cb1a68eb0358c8466613a6d7000c79 /src/reclaim
parent3075891e02b15a7625d13a946324eb9873e0f0d3 (diff)
downloadgnunet-d528c78ecfa75878e1bb4ea605bcafbbb2e63371.tar.gz
gnunet-d528c78ecfa75878e1bb4ea605bcafbbb2e63371.zip
add response headers, add replace api to namestore
Diffstat (limited to 'src/reclaim')
-rw-r--r--src/reclaim/plugin_rest_reclaim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c
index 0246e289a..0800e5b20 100644
--- a/src/reclaim/plugin_rest_reclaim.c
+++ b/src/reclaim/plugin_rest_reclaim.c
@@ -352,6 +352,7 @@ finished_cont (void *cls, int32_t success, const char *emsg)
352 struct MHD_Response *resp; 352 struct MHD_Response *resp;
353 353
354 resp = GNUNET_REST_create_response (emsg); 354 resp = GNUNET_REST_create_response (emsg);
355 MHD_add_response_header (resp, "Content-Type", "application/json");
355 if (GNUNET_OK != success) 356 if (GNUNET_OK != success)
356 { 357 {
357 GNUNET_SCHEDULER_add_now (&do_error, handle); 358 GNUNET_SCHEDULER_add_now (&do_error, handle);