aboutsummaryrefslogtreecommitdiff
path: root/web/server/module.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-02-28 10:52:08 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:27 +0200
commitbf260eb306aa90485c74217ef9c86c728d11c6da (patch)
tree8655e851fc7d5f17e9d567468efc6f90f73aa165 /web/server/module.hxx
parent3f9c0b966b9f2d910101f60a199a957da52234a8 (diff)
Verify webhook request HMACs
Diffstat (limited to 'web/server/module.hxx')
-rw-r--r--web/server/module.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/server/module.hxx b/web/server/module.hxx
index 20f6217..1b067f5 100644
--- a/web/server/module.hxx
+++ b/web/server/module.hxx
@@ -82,6 +82,11 @@ namespace web
using name_values = std::vector<name_value>;
using butl::path;
+ // @@ TODO: Expose the request input stream rewinding support provided by
+ // web::apache::request::rewind(). Might come in useful in cases
+ // where more than one thing needs to be done with the request
+ // body, e.g., compute its MAC and then parse its contents.
+ //
class request
{
public: