diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-08-25 15:59:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-08-25 15:59:04 +0100 |
commit | f8c7c8fd53c24a8b9e6e487c12ce4da8673cb1a0 (patch) | |
tree | 49f23ff057d74b1fd3a0fb2f9b26bbae7fc8d082 /tools/http-status-codes.lua | |
parent | 80616c004c1952471126f68e57ee61a0e740055b (diff) | |
download | prosody-f8c7c8fd53c24a8b9e6e487c12ce4da8673cb1a0.tar.gz prosody-f8c7c8fd53c24a8b9e6e487c12ce4da8673cb1a0.zip |
net.http: http.request() promise now resolves with response (breaking change)
Promise mode is not (widely?) used, changing this now while we can, as it
improves usability of the API.
The request is now available as response.request, if needed.
Diffstat (limited to 'tools/http-status-codes.lua')
0 files changed, 0 insertions, 0 deletions