# HG changeset patch # User amazy # Date 1486067308 -3600 # Node ID e6a15f6197867109cb12a54311246b11df9221c1 # Parent c9a33e4a0577e1b7460ef7639fc3198f8261b053 added headers in HttpPost/Delete/Get/Put diff -r c9a33e4a0577 -r e6a15f619786 Sphinx/source/users/lua.rst --- a/Sphinx/source/users/lua.rst Fri Jan 20 09:49:26 2017 +0100 +++ b/Sphinx/source/users/lua.rst Thu Feb 02 21:28:28 2017 +0100 @@ -155,13 +155,14 @@ `, several functions are available to make generic HTTP requests to Web services: -* ``HttpGet(url)`` -* ``HttpPost(url, body)`` -* ``HttpPut(url, body)`` -* ``HttpDelete(url)`` +* ``HttpGet(url, headers)`` +* ``HttpPost(url, body, headers)`` +* ``HttpPut(url, body, headers)`` +* ``HttpDelete(url, headers)`` * ``SetHttpCredentials(username, password)`` can be used to setup the HTTP credentials. +The ``headers`` argument has been added in release 1.2.1. .. _lua-origin: