[Issue 15953] New: std.net.curl: contentLength reset method DELETE to POST
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Apr 25 08:27:11 PDT 2016
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 at puremagic.com
Reporter: andre at 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?
--
More information about the Digitalmars-d-bugs
mailing list