From: Thierry FOURNIER / OZON.IO Date: Tue, 2 Aug 2016 21:43:10 +0000 (+0200) Subject: DOC: lua: remove old functions X-Git-Tag: v1.7-dev4~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53e381c3a0cddbd6ad5e9bb21f4a5da8215880cf;p=thirdparty%2Fhaproxy.git 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 --- diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index dccf415620..9e1b530a9d 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -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".