Bug 14535 – std.net.curl.CurlException should include status line
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-04-30T20:18:00Z
Last change time
2017-07-19T17:43:15Z
Keywords
pull
Assigned to
nobody
Creator
briancschott
Comments
Comment #0 by briancschott — 2015-04-30T20:18:27Z
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.
Comment #1 by dlang-bugzilla — 2015-05-05T09:31:06Z