https://issues.dlang.org/show_bug.cgi?id=14535
Issue ID: 14535
Summary: std.net.curl.CurlException should include status line
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: [email protected]
Reporter: [email protected]
The high-level curl functions such as get, put, and post throw CurlException
when they fail. This exception does not include the status line, so the
exception only contains information about the status code, such as "request
returned status code 500".
Including the status line in the exception would allow clients to provide more
helpful error messages to users.
--