std.net.curl broken?

Vladimir Panteleev vladimir at thecybershadow.net
Sun Jun 23 05:16:32 PDT 2013


On Sunday, 23 June 2013 at 12:08:08 UTC, Benjamin Thaut wrote:
> I just wanted to get the contents of a smiple html page using 
> std.net.curl (on Windows)
>
> So I did (exactly like in the library documentation example)
>
> string contents = get("dlang.org");

Looks like a documentation bug. `get("dlang.org")` will return a 
char[], not a string.

The unrelated errors in std.range an std.format are caused by a 
DMD bug (7904, I believe).


More information about the Digitalmars-d mailing list