[Issue 14535] New: std.net.curl.CurlException should include status line
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Apr 30 13:18:27 PDT 2015
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: nobody at puremagic.com
Reporter: briancschott at gmail.com
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.
--
More information about the Digitalmars-d-bugs
mailing list