# HG changeset patch # User Waqas Hussain # Date 1314815104 -18000 # Node ID 3578ff5d3674778c747c6005ef818f687dbf226e # Parent 916834f22d1bc12831c5871c35154935c7252d48 net.http: Remove extra space after method in request status line for POST. diff -r 916834f22d1b -r 3578ff5d3674 net/http.lua --- a/net/http.lua Wed Aug 31 23:24:13 2011 +0500 +++ b/net/http.lua Wed Aug 31 23:25:04 2011 +0500 @@ -118,7 +118,7 @@ req.onlystatus = ex.onlystatus; body = ex.body; if body then - method = "POST "; + method = "POST"; headers["Content-Length"] = tostring(#body); headers["Content-Type"] = "application/x-www-form-urlencoded"; end