Bug 8025 – std.net.curl.del should return response body.

Status
NEW
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-03T12:07:29Z
Last change time
2024-12-01T16:15:07Z
Keywords
bootcamp
Assigned to
Tiberiu Lepadatu
Creator
Masahiro Nakagawa
Moved to GitHub: phobos#9590 →

Comments

Comment #0 by repeatedly — 2012-05-03T12:07:29Z
Currently, return type of del is void. void del(Conn = AutoProtocol)(const(char)[] url, Conn conn = Conn()) if (isCurlConn!Conn) But HTTP's DELETE sometimes returns response body(Sorry, I don't know FTP). In such cases, current del is not usable. Return type of del should be T[] same as other functions, e.g. get, put and etc...
Comment #1 by robert.schadek — 2024-12-01T16:15:07Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/9590 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB