aboutsummaryrefslogtreecommitdiff
path: root/web/server
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-02-28 10:52:08 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-04-24 15:14:54 +0200
commit3bda6ce90b877aabbda0ac4c4238901f3b8b1674 (patch)
treeb86e98fca10650eae2ec061c36a481eb62cc3fd1 /web/server
parent3c6fb1f4967eb5800179693768395f4e32ff293d (diff)
Verify webhook request HMACs
Diffstat (limited to 'web/server')
-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: