|
|
|
|
@ -460,7 +460,7 @@ public class API { |
|
|
|
|
public Object[] proxySub(Map<String, String> params) throws Exception { |
|
|
|
|
String fileId = params.get("file_id"); |
|
|
|
|
Response res = OkHttp.newCall(getDownloadUrl(fileId), getHeaderAuth()); |
|
|
|
|
byte[] body = Utils.getUTF8(res.body().bytes()); |
|
|
|
|
byte[] body = Utils.toUtf8(res.body().bytes()); |
|
|
|
|
Object[] result = new Object[3]; |
|
|
|
|
result[0] = 200; |
|
|
|
|
result[1] = "application/octet-stream"; |
|
|
|
|
|