# HG changeset patch # User Matthew Wild # Date 1313873477 14400 # Node ID 502876d9436372184fb526361f35e330a160ba59 # Parent f600591c87fa22c185bc89c193930016ccd3dfa0 net.httpclient_listener: Fix to look for the request body in the right variable... diff -r f600591c87fa -r 502876d94363 net/httpclient_listener.lua --- a/net/httpclient_listener.lua Sat Aug 20 16:14:07 2011 -0400 +++ b/net/httpclient_listener.lua Sat Aug 20 16:51:17 2011 -0400 @@ -32,8 +32,8 @@ end conn:write("\r\n"); - if body then - conn:write(body); + if req.body then + conn:write(req.body); end end