mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
space
This commit is contained in:
parent
2ebce8eb7b
commit
ade01f6cf7
@ -38,6 +38,7 @@ class RequestResult {
|
||||
function send(url, {method, headers, timeout, body, format}) {
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open(method, url);
|
||||
|
||||
if (format === "buffer") {
|
||||
// important to call this after calling open
|
||||
xhr.responseType = "arraybuffer";
|
||||
|
Loading…
Reference in New Issue
Block a user