doc/lua: document request_host lua lib

Seems that we missed bringing this one, when documenting HTTP lua lib
functions.
pull/13383/head
Juliana Fajardini 1 year ago committed by Victor Julien
parent 9054187659
commit 9614770483

@ -194,4 +194,14 @@ Example::
http_response_body = tx:response_body()
print(http_response_body)
``request_host()``
^^^^^^^^^^^^^^^^^^
Get the HTTP request host.
Example::
local tx = http.get_tx()
http_host = tx:request_host()
print(http_host)

Loading…
Cancel
Save