[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: do not always add json cont
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: do not always add json content type |
Date: |
Fri, 07 Jun 2019 16:48:47 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 4c1ef8149 do not always add json content type
new 02438237b Merge branch 'master' of git+ssh://gnunet.org/gnunet
4c1ef8149 is described below
commit 4c1ef8149081635778c52c0be9ca49aadaea137c
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Jun 7 16:47:41 2019 +0200
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);
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: do not always add json content type,
gnunet <=