summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-07 16:47:41 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-06-07 16:47:41 +0200
commit4c1ef8149081635778c52c0be9ca49aadaea137c (patch)
tree4ce747cb283edb3809562e4aae8a1dccb186fa3b
parent94eb76c41311d00f2a44c103e0c4536343b3a4c8 (diff)
do not always add json content type
-rw-r--r--src/rest/gnunet-rest-server.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index ba1d595fd..c7564614f 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -461,10 +461,6 @@ create_response (void *cls,
"Access-Control-Allow-Headers",
allow_headers);
}
- //Always add JSONAPI content type. TODO
- MHD_add_response_header (con_handle->response,
- MHD_HTTP_HEADER_CONTENT_TYPE,
- "application/vnd.api+json");
int ret = MHD_queue_response (con,
con_handle->status,
con_handle->response);