D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8025 - std.net.curl.del should return response body.
Summary: std.net.curl.del should return response body.
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P2 major
Assignee: Tiberiu Lepadatu
URL:
Keywords: bootcamp
Depends on:
Blocks:
 
Reported: 2012-05-03 12:07 UTC by Masahiro Nakagawa
Modified: 2024-12-01 16:15 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Masahiro Nakagawa 2012-05-03 12:07:29 UTC
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 dlangBugzillaToGithub 2024-12-01 16:15:07 UTC
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