]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: lua: remove old functions
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Tue, 2 Aug 2016 21:43:10 +0000 (23:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Aug 2016 22:05:59 +0000 (00:05 +0200)
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

doc/lua-api/index.rst

index dccf415620f57ca9b78acb27f7aaa9500f3a5f96..9e1b530a9d6d1d8899ed22a63c159090b434c907 100644 (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".