]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: create and register HTTP class
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 16 Mar 2015 13:17:08 +0000 (14:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2015 10:34:06 +0000 (11:34 +0100)
commit08504f4e19de3a4e47b6d1b604f48a5b2ec3c7e2
treeb225ec57e3de5ce26a1c1b7b12f81e88891c9de1
parent2cce3538ca3ec2bcf246f84922b56e55a25a1e81
MINOR: lua: create and register HTTP class

This class is accessible via the TXN object. It is created only if
the attached proxy have HTTP mode. It contain all the HTTP
manipulation functions:

 - req_get_headers
 - req_del_header
 - req_rep_header
 - req_rep_value
 - req_add_header
 - req_set_header
 - req_set_method
 - req_set_path
 - req_set_query
 - req_set_uri

 - res_get_headers
 - res_del_header
 - res_rep_header
 - res_rep_value
 - res_add_header
 - res_set_header
doc/lua-api/index.rst
include/types/hlua.h
src/hlua.c