On Thu, 19 Dec 2013 17:50:31 GMT, Luís Marques wrote:
If I do a:
std.net.curl.post(someURL, "some string");
In my vibed post handler the req.bodyReader is empty, with leastSize == 0. I also couldn't find any data in the other properties of the HTTPServerRequest object that I looked. What am I doing wrong?
Curiously, it works with a PUT method:
client: put(someURL, "some string");
server: assert(readAllUTF8(req.bodyReader, false, 0x1000) == "some string");
I'm using a PUT as a workaround for now.