gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit 491bef5fe8ebdc5ccb8ad531a36e74b85128564c
parent 012cae71d11771230a2f70adf40c847feadb47a4
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 15 Nov 2024 22:48:22 +0100

return correct HTTP status code

Diffstat:
Mgnu-taler-error-codes/registry.rec | 14++++----------
Mgnunet-signatures/registry.rec | 5-----
2 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec @@ -474,23 +474,17 @@ HttpStatus: 500 Value: 1038 Name: EXCHANGE_GENERIC_KYC_FAILED Description: The KYC operation failed. This could be because the KYC provider rejected the KYC data provided, or because the user aborted the KYC process. -# Not particular HTTP status is implied, this is primarily -# an internal error within the exchange. -HttpStatus: 0 +HttpStatus: 500 Value: 1039 Name: EXCHANGE_GENERIC_KYC_FALLBACK_FAILED Description: A fallback measure for a KYC operation failed. This is a bug. Users should contact the exchange operator. -# Not particular HTTP status is implied, this is primarily -# an internal error within the exchange. -HttpStatus: 0 +HttpStatus: 500 Value: 1040 Name: EXCHANGE_GENERIC_KYC_FALLBACK_UNKNOWN Description: The specified fallback measure for a KYC operation is unknown. This is a bug. Users should contact the exchange operator. -# Not particular HTTP status is implied, this is primarily -# an internal error within the exchange. -HttpStatus: 0 +HttpStatus: 500 Value: 1041 Name: EXCHANGE_GENERIC_BANK_ACCOUNT_UNKNOWN @@ -1813,7 +1807,7 @@ HttpStatus: 409 Value: 2184 Name: MERCHANT_POST_ORDERS_ID_PAY_EXCHANGE_TRANSACTION_LIMIT_VIOLATION Description: The payment violates a transaction limit configured at the given exchange. The wallet has a bug in that it failed to check exchange limits during coin selection. Please report the bug to your wallet developer. -HttpStatus: 403 +HttpStatus: 400 # 2200-2224: post orders ID paid endpoint diff --git a/gnunet-signatures/registry.rec b/gnunet-signatures/registry.rec @@ -365,11 +365,6 @@ Name: EXCHANGE_AFFIRM_DENOM_EXPIRED Comment: Signature where the Exchange confirms that it does not consider a denomination valid for the given operation at this time. Package: GNU Taler -Number: 1044 -Name: EXCHANGE_ACCOUNT_SETUP_SUCCESS -Comment: Signature by which an exchange affirms that an account successfully passed the KYC checks. -Package: GNU Taler - Number: 1045 Name: EXCHANGE_CONFIRM_PURSE_CREATION Comment: Signature by which the exchange affirms that a purse was created with a certain amount deposited into it.