Module: kamailio
Branch: master
Commit: 993583015b127b0a83603acd352925c8d6e6db70
URL:
https://github.com/kamailio/kamailio/commit/993583015b127b0a83603acd352925c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-02-26T13:09:27+01:00
microhttpd: docs - note about variables available in the event route
---
Modified: src/modules/microhttpd/doc/microhttpd_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/993583015b127b0a83603acd352925c…
Patch:
https://github.com/kamailio/kamailio/commit/993583015b127b0a83603acd352925c…
---
diff --git a/src/modules/microhttpd/doc/microhttpd_admin.xml
b/src/modules/microhttpd/doc/microhttpd_admin.xml
index 1967c845b82..c548d0dfc42 100644
--- a/src/modules/microhttpd/doc/microhttpd_admin.xml
+++ b/src/modules/microhttpd/doc/microhttpd_admin.xml
@@ -157,6 +157,11 @@ event_route[microhttpd:request] {
<para>
The event route is executed when a new HTTP request is received.
</para>
+ <para>
+ Inside it, the $mhttpd(...) group of variables is available, giving
+ access to several attributes of the HTTP request, such as method,
+ URL, data (body) or headers.
+ </para>
<programlisting format="linespecific">
...
...