2
0
Эх сурвалжийг харах

do not always add json content type

Schanzenbach, Martin 5 жил өмнө
parent
commit
4c1ef81490

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