Преглед изворни кода

cookbooks/devel/pseudovariables: docs for $mhttpd(key) variable

Daniel-Constantin Mierla пре 2 година
родитељ
комит
8609b898e6
1 измењених фајлова са 13 додато и 0 уклоњено
  1. 13 0
      docs/cookbooks/devel/pseudovariables.md

+ 13 - 0
docs/cookbooks/devel/pseudovariables.md

@@ -3423,6 +3423,19 @@ The key can be:
 -   $x_rs:
 -   $x_rr:
 
+## microhttpd module variables
+
+`$mhttpd(key)` - return attributes of the HTTP request received by microhttpd module.
+
+The key can be:
+
+  - `url` - the http url
+  - `data` - the body of http request
+  - `size` - the size of the body
+  - `method` - the http method
+  - `srcip` - the source ip
+  - `version` - the http version
+
 ## $C(xy) - Foreground and background colors
 
 $C(xy) - reference to an escape sequence. “x” represents the foreground