https://issues.dlang.org/show_bug.cgi?id=18318

--- Comment #4 from Martin Nowak <c...@dawg.eu> ---
(In reply to Aravinda from comment #2)
>     auto conn = HTTP(url);
>     download(url, "tmp", conn);
>     auto status = conn.statusLine();
>     if (status.code == 200){

Thanks, that's a helpful workaround for the time being.
But by default, high-level functions should throw on errors, so that they
aren't accidentally ignored.

--

Reply via email to