gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 4c1ef8149081635778c52c0be9ca49aadaea137c
parent 94eb76c41311d00f2a44c103e0c4536343b3a4c8
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
Date:   Fri,  7 Jun 2019 16:47:41 +0200

do not always add json content type

Diffstat:
Msrc/rest/gnunet-rest-server.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git 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);