Am 20.12.2013 19:52, schrieb Luís Marques:
On Fri, 20 Dec 2013 18:43:56 GMT, Sönke Ludwig wrote:
The reason is that CURL sends "some string" with "Content-Type: application/x-www-form-urlencoded" by default and vibe.d enables
HTTPOption.parseFormBody
by default, which will result in vibe.d parsing the POST body as form data which will be put intoreq.form
. Changing either of the two should make the raw data available.But I had tried dumping req.form and it was also empty. Isn't that unexpected?
Which string exactly did you send? For "some string" I get a single
field ["some string": ""]
.