gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: HTTP_NOT_ACCEPTABLE is not an ex


From: gnunet
Subject: [taler-exchange] branch master updated: HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content type negotiation
Date: Thu, 16 Jan 2020 16:40:28 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 23507d85 HTTP_NOT_ACCEPTABLE is not an expected status code, as it is 
for content type negotiation
23507d85 is described below

commit 23507d8565334594bb397a08d2fd853f2b96d776
Author: Florian Dold <address@hidden>
AuthorDate: Thu Jan 16 16:40:02 2020 +0100

    HTTP_NOT_ACCEPTABLE is not an expected status code, as it is for content 
type negotiation
---
 doc/prebuilt                     | 2 +-
 src/bank-lib/bank_api_admin.c    | 5 -----
 src/bank-lib/bank_api_transfer.c | 5 -----
 3 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/doc/prebuilt b/doc/prebuilt
index 934a6a18..ca53235c 160000
--- a/doc/prebuilt
+++ b/doc/prebuilt
@@ -1 +1 @@
-Subproject commit 934a6a18301e81c4fd1b3a8cda2dc13dca4741cc
+Subproject commit ca53235ccfa0458ebf11c204888ca370e20ec3f5
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index 6e4d937c..4c1cd320 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -129,11 +129,6 @@ handle_admin_add_incoming_finished (void *cls,
        happen, we should pass the JSON reply to the application */
     ec = TALER_BANK_parse_ec_ (j);
     break;
-  case MHD_HTTP_NOT_ACCEPTABLE:
-    /* Nothing really to verify, this should never
-       happen, we should pass the JSON reply to the application */
-    ec = TALER_BANK_parse_ec_ (j);
-    break;
   case MHD_HTTP_INTERNAL_SERVER_ERROR:
     /* Server had an internal issue; we should retry, but this API
        leaves this to the application */
diff --git a/src/bank-lib/bank_api_transfer.c b/src/bank-lib/bank_api_transfer.c
index ad6d443d..404e84b6 100644
--- a/src/bank-lib/bank_api_transfer.c
+++ b/src/bank-lib/bank_api_transfer.c
@@ -213,11 +213,6 @@ handle_transfer_finished (void *cls,
        happen, we should pass the JSON reply to the application */
     ec = TALER_BANK_parse_ec_ (j);
     break;
-  case MHD_HTTP_NOT_ACCEPTABLE:
-    /* Nothing really to verify, this should never
-       happen, we should pass the JSON reply to the application */
-    ec = TALER_BANK_parse_ec_ (j);
-    break;
   case MHD_HTTP_INTERNAL_SERVER_ERROR:
     /* Server had an internal issue; we should retry, but this API
        leaves this to the application */

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]