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
Comment #2 by github-bugzilla — 2015-05-14T18:00:42Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/81b4dcd17521ffdfbf39deb7dcd0a76686da3c44 fix Issue 14535 - std.net.curl.CurlException should include status line https://github.com/D-Programming-Language/phobos/commit/5eb7b54dc1d0d9e2e34ecd2b1f032a3d5f7574de Merge pull request #3257 from CyberShadow/pull-20150505-091936-curl fix Issue 14535 - std.net.curl.CurlException should include status line
Comment #3 by github-bugzilla — 2017-07-19T17:43:15Z
Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/81b4dcd17521ffdfbf39deb7dcd0a76686da3c44 fix Issue 14535 - std.net.curl.CurlException should include status line https://github.com/dlang/phobos/commit/5eb7b54dc1d0d9e2e34ecd2b1f032a3d5f7574de Merge pull request #3257 from CyberShadow/pull-20150505-091936-curl