[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: NAMESTORE/REST: no HTTP_OK
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: NAMESTORE/REST: no HTTP_OK on failure... |
Date: |
Thu, 25 Apr 2019 22:58:54 +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 6a93bbf5b NAMESTORE/REST: no HTTP_OK on failure...
6a93bbf5b is described below
commit 6a93bbf5b1dd37db542b1813da3d805bb02ffbef
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Apr 25 22:58:40 2019 +0200
NAMESTORE/REST: no HTTP_OK on failure...
---
src/namestore/plugin_rest_namestore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/namestore/plugin_rest_namestore.c
b/src/namestore/plugin_rest_namestore.c
index cad019292..b25b10493 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -320,7 +320,7 @@ do_error (void *cls)
json_object_set_new(json_error,"error", json_string(handle->emsg));
if (0 == handle->response_code)
- handle->response_code = MHD_HTTP_OK;
+ handle->response_code = MHD_HTTP_INTERNAL_SERVER_ERROR;
response = json_dumps (json_error, 0);
resp = GNUNET_REST_create_response (response);
handle->proc (handle->proc_cls, resp, handle->response_code);
--
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: NAMESTORE/REST: no HTTP_OK on failure...,
gnunet <=