responses are encoded in UTF-8

This commit is contained in:
skilion 2015-10-04 17:33:48 +02:00
parent 789bdf8390
commit 32009e2747

View file

@ -312,7 +312,7 @@ final class OneDriveApi
private JSONValue perform() private JSONValue perform()
{ {
scope(exit) http.onReceive = null; scope(exit) http.onReceive = null;
ubyte[] content; char[] content;
http.onReceive = (ubyte[] data) { http.onReceive = (ubyte[] data) {
content ~= data; content ~= data;
return data.length; return data.length;