diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/httpclient_listener.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/httpclient_listener.lua b/net/httpclient_listener.lua index df571a58..342c2311 100644 --- a/net/httpclient_listener.lua +++ b/net/httpclient_listener.lua @@ -32,8 +32,8 @@ function httpclient.onconnect(conn) end conn:write("\r\n"); - if body then - conn:write(body); + if req.body then + conn:write(req.body); end end |