DOC: lua: fix somme errors
This patch fix some errors in the class TXN doc.
Should be backported in 1.6
diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst
index 6adb72e..7a1f44e 100644
--- a/doc/lua-api/index.rst
+++ b/doc/lua-api/index.rst
@@ -1094,13 +1094,6 @@
:param class_txn txn: The class txn object containing the data.
:param string var: The variable name according with the HAProxy variable syntax.
-.. js:function:: TXN.get_headers(txn)
-
- This function returns an array of headers.
-
- :param class_txn txn: The class txn object containing the data.
- :returns: an array of headers.
-
.. js:function:: TXN.done(txn)
This function terminates processing of the transaction and the associated