haproxy/doc/lua-api
Thierry FOURNIER 841475e304 MINOR: lua: service/applet can have access to the HTTP headers when a POST is received
When a POST is processed by a Lua service, the HTTP header are
potentially gone. So, we cannot retrieve their content using
the standard "hdr" sample fetchs (which will soon become invalid
anyway) from an applet.

This patch add an entry "headers" to the object applet_http. This
entry is an array containing all the headers. It permits to use the
HTTP headers during the processing of the service.

Many thanks to Jan Bruder for reporting this issue with enough
details to reproduce it.

This patch will have to be backported to 1.6 since it will be the
only way to access headers from Lua applets.
2015-12-20 23:12:12 +01:00
..
_static DOC: lua api 2015-03-11 20:41:33 +01:00
conf.py DOC: lua api 2015-03-11 20:41:33 +01:00
index.rst MINOR: lua: service/applet can have access to the HTTP headers when a POST is received 2015-12-20 23:12:12 +01:00
Makefile DOC: lua api 2015-03-11 20:41:33 +01:00