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-05-13 09:17:32 +0200
commit5cf6c1f94a5773a48a37851f0b32d8434d9cccfb (patch)
tree570dd11422cfadfbf8646b741c7e788ec577d153 /web
parent3e35a4449b7664e56609e8df4b08b13c98fc6632 (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: