From e833a3485d39992a58a015a5a2d853ce6f4a58cd Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 20 Aug 2011 16:51:17 -0400 Subject: net.httpclient_listener: Fix to look for the request body in the right variable... --- net/httpclient_listener.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') 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 -- cgit v1.2.3