Bug 15953 – std.net.curl: contentLength reset method DELETE to POST

Status
NEW
Severity
minor
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-04-25T15:27:11Z
Last change time
2024-12-01T16:26:35Z
Assigned to
No Owner
Creator
Andre
Moved to GitHub: phobos#9679 →

Comments

Comment #0 by andre — 2016-04-25T15:27:11Z
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?
Comment #1 by robert.schadek — 2024-12-01T16:26:35Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9679 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB