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: [email protected]
Reporter: [email protected]
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?
--