Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.net.curl.del should return response body. #9590

Open
dlangBugzillaToGithub opened this issue May 3, 2012 · 0 comments
Open

std.net.curl.del should return response body. #9590

dlangBugzillaToGithub opened this issue May 3, 2012 · 0 comments

Comments

@dlangBugzillaToGithub
Copy link

repeatedly (@repeatedly) reported this on 2012-05-03T12:07:29Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=8025

CC List

  • andrei (@andralex)
  • hsteoh
  • tiberiulepadatu14

Description

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...
@LightBender LightBender removed the P2 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants