Skip to content

Commit

Permalink
admin_manual: lua - Document changes to set_payload()
Browse files Browse the repository at this point in the history
When sending payload, it no longer expects 100 Continue header unless
asked to.
  • Loading branch information
cmouse committed Mar 21, 2024
1 parent e0298b0 commit 48904cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/admin_manual/lua.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,13 @@ object http_request
:param string name: Name of the HTTP header.
.. py:function:: set_payload(value)
.. py:function:: set_payload(value, synchronous)
Set payload data to the request.
Set payload data to the request. Optionally you can set ``synchronous``,
which will cause 100 Continue header to be sent.
:param string value: Payload of the request as string data.
:param boolean synchronous: Expect 100 Continue header before sending data. Defaults to false.
.. py:function:: submit()
Expand Down

0 comments on commit 48904cc

Please sign in to comment.