www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14800] New: std.net.curl.download saves data as array

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

          Issue ID: 14800
           Summary: std.net.curl.download saves data as array
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: brocolis eml.cc

v2.068.0-b1 on linux debian x64
----

import std.net.curl;

void main()
{
    download("https://gnu.org/doc/doc.html", "/tmp/temp.data");
}

$ cat /tmp/temp.data
[60, 33, 68, 79, 67, 84, 89, 80, 69, 32, 104, 116, 109, 108, 32, 80, 85, 66,
76, 73, 67, 32, 34, 45, 47, 47, 87, 51, 67, 47, ...


It works with v2.067.1

--
Jul 14 2015