Browse Source

do not always add json content type

Schanzenbach, Martin 4 years ago
parent
commit
4c1ef81490
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/rest/gnunet-rest-server.c

+ 0 - 4
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);