reader = res.getReader()?
// idk name here
const progress = reader.read()
I just tested my code, except that I have to set the headers after "open" it works like a charm as far as I understand getReader() only tracks download progress, not upload
Обсуждают сегодня