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:
Thierry FOURNIER / OZON.IO 2016-08-02 23:43:10 +02:00 committed by Willy Tarreau
parent 6310bef511
commit 53e381c3a0

View File

@ -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".