gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: comment code


From: gnunet
Subject: [taler-merchant] branch master updated: comment code
Date: Fri, 02 Apr 2021 16:11:28 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 79bcf151 comment code
79bcf151 is described below

commit 79bcf15131bf73a56f3839733ae8eeb11aa3680f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Apr 2 16:11:26 2021 +0200

    comment code
---
 src/backend/taler-merchant-httpd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/backend/taler-merchant-httpd.c 
b/src/backend/taler-merchant-httpd.c
index 6de0e940..611be6bf 100644
--- 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];

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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