merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 79bcf15131bf73a56f3839733ae8eeb11aa3680f
parent 316b3d2adbbbe378da0f1b470de10b03ea82beb4
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  2 Apr 2021 16:11:26 +0200

comment code

Diffstat:
Msrc/backend/taler-merchant-httpd.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c @@ -1766,6 +1766,7 @@ url_handler (void *cls, hc->rh = rh; break; } + /* Handle HTTP 405: METHOD NOT ALLOWED case */ if ( (NULL == hc->rh) && (url_found) ) { @@ -1774,6 +1775,7 @@ url_handler (void *cls, char *allowed = NULL; GNUNET_break_op (0); + /* compute 'Allowed:' header (required by HTTP spec for 405 replies) */ for (unsigned int i = 0; NULL != handlers[i].url_prefix; i++) { struct TMH_RequestHandler *rh = &handlers[i];