gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: use FORBIDDEN, never UNAUTHORIZE


From: gnunet
Subject: [taler-exchange] branch master updated: use FORBIDDEN, never UNAUTHORIZED
Date: Sat, 23 Nov 2019 21:53:17 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 51e54bba use FORBIDDEN, never UNAUTHORIZED
51e54bba is described below

commit 51e54bbaa18397f599e5078153671c98c719c695
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 23 21:53:14 2019 +0100

    use FORBIDDEN, never UNAUTHORIZED
---
 src/include/taler_error_codes.h     | 4 ++--
 src/lib/test_exchange_api_twisted.c | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/include/taler_error_codes.h b/src/include/taler_error_codes.h
index 28ee64fe..a2a9bcc4 100644
--- a/src/include/taler_error_codes.h
+++ b/src/include/taler_error_codes.h
@@ -929,7 +929,7 @@ enum TALER_ErrorCode
   /**
    * The given coin signature is invalid for the request.
    * This response is provided with an
-   * HTTP status code of MHD_HTTP_UNAUTHORIZED.
+   * HTTP status code of MHD_HTTP_FORBIDDEN.
    */
   TALER_EC_PAYBACK_SIGNATURE_INVALID = 1851,
 
@@ -1905,7 +1905,7 @@ enum TALER_ErrorCode
    * The signature provided in the "Sync-Signature" header
    * does not match the account, old or new Etags.
    * This response is provided with HTTP status code
-   * MHD_HTTP_UNAUTHORIZED.
+   * MHD_HTTP_FORBIDDEN.
    */
   TALER_EC_SYNC_INVALID_SIGNATURE = 6007,
 
diff --git a/src/lib/test_exchange_api_twisted.c 
b/src/lib/test_exchange_api_twisted.c
index 739669b9..968b7e62 100644
--- a/src/lib/test_exchange_api_twisted.c
+++ b/src/lib/test_exchange_api_twisted.c
@@ -16,9 +16,8 @@
   License along with TALER; see the file COPYING.  If not, see
   <http://www.gnu.org/licenses/>
 */
-
 /**
- * @file exchange/test_exchange_api_twister.c
+ * @file exchange/test_exchange_api_twisted.c
  * @brief testcase to test exchange's HTTP API interface
  * @author Marcello Stanisci
  * @author Sree Harsha Totakura <address@hidden>
@@ -262,7 +261,7 @@ run (void *cls,
 
     TALER_TESTING_cmd_refund
       ("refund-bad-sig",
-      MHD_HTTP_UNAUTHORIZED,
+      MHD_HTTP_FORBIDDEN,
       "EUR:5",
       "EUR:0.01",
       "deposit-refund-1"),

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



reply via email to

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