digitalmars.D.bugs - [Issue 15953] New: std.net.curl: contentLength reset method DELETE
- via Digitalmars-d-bugs (23/23) Apr 25 2016 https://issues.dlang.org/show_bug.cgi?id=15953
https://issues.dlang.org/show_bug.cgi?id=15953 Issue ID: 15953 Summary: std.net.curl: contentLength reset method DELETE to POST Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: andre s-e-a-p.de While setting HTTTP.contentLength the method DELETE is overwritten with POST due to this coding: curl.d (line 3024) // Force post if necessary if (p.method != Method.put && p.method != Method.post && p.method != Method.patch) p.method = Method.post; This seems wrong? --
Apr 25 2016