www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8025] New: std.net.curl.del should return response body.


           Summary: std.net.curl.del should return response body.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: repeatedly gmail.com

--- Comment #0 from Masahiro Nakagawa <repeatedly gmail.com> 2012-05-03
12:07:29 PDT ---
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

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 03 2012