From 4c1ef8149081635778c52c0be9ca49aadaea137c Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 7 Jun 2019 16:47:41 +0200 Subject: [PATCH] do not always add json content type --- src/rest/gnunet-rest-server.c | 4 ---- 1 file changed, 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); -- 2.25.1