Fix ubyte[] download overload by avoiding a cast
We were using the default template parameter, `char`, and as the documentation for `get` states: > If asking for char, content will be converted from > the connection character set (specified in HTTP > response headers or FTP connection properties, > both ISO-8859-1 by default) to UTF-8. However we are downloading a binary so converting it to UTF-8 will fail. Especially if we intend to cast it to `ubyte[]` afterwards. |
---|
|
source/dub/internal/utils.d |
---|