mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-24 13:42:16 +00:00
DOC: lua: remove old functions
The functions "req_replace_value()" and "res_replace_value()" doesn't exists in the 1.6 version. There inherited from the 1.6dev. This patch must be backported in 1.6 version
This commit is contained in:
parent
6310bef511
commit
53e381c3a0
@ -1216,32 +1216,6 @@ HTTP class
|
||||
:param string replace: The replacement value.
|
||||
:see: HTTP.req_replace_header()
|
||||
|
||||
.. js:function:: HTTP.req_replace_value(http, name, regex, replace)
|
||||
|
||||
Works like "HTTP.req_replace_header()" except that it matches the regex
|
||||
against every comma-delimited value of the header field "name" instead of the
|
||||
entire header.
|
||||
|
||||
:param class_http http: The related http object.
|
||||
:param string name: The header name.
|
||||
:param string regex: The match regular expression.
|
||||
:param string replace: The replacement value.
|
||||
:see: HTTP.req_replace_header()
|
||||
:see: HTTP.res_replace_value()
|
||||
|
||||
.. js:function:: HTTP.res_replace_value(http, name, regex, replace)
|
||||
|
||||
Works like "HTTP.res_replace_header()" except that it matches the regex
|
||||
against every comma-delimited value of the header field "name" instead of the
|
||||
entire header.
|
||||
|
||||
:param class_http http: The related http object.
|
||||
:param string name: The header name.
|
||||
:param string regex: The match regular expression.
|
||||
:param string replace: The replacement value.
|
||||
:see: HTTP.res_replace_header()
|
||||
:see: HTTP.req_replace_value()
|
||||
|
||||
.. js:function:: HTTP.req_set_method(http, method)
|
||||
|
||||
Rewrites the request method with the parameter "method".
|
||||
|
Loading…
Reference in New Issue
Block a user