aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-02-28 10:52:08 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-10 11:40:24 +0200
commiteedef97cd9679ae68d7c989f194d957a35a00dd1 (patch)
treea4a4f5a4e6cee1b7ff5aea68f8619bc5a9d29c07 /web
parentabd6ede8444a89b6c56c20d06110cb3923b05bbe (diff)
Verify webhook request HMACs
Diffstat (limited to 'web')
-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: