You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
When I want to use
res.blob()
to get an blob object, it's return an error blob ...example in jsFiddle
Look at the source code, you is to use
new Blob([res.body])
to return an blob, but if not setxhr.responseType = 'blob'
, it is not a binary stream ...In fact, I think you can use the
fetch api
, of course, need to add polyfill, like this(fetch polyfill).😃
The text was updated successfully, but these errors were encountered: