www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14535] New: std.net.curl.CurlException should include status


          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 puremagic.com
          Reporter: briancschott 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.

Apr 30 2015