Skip to content

Commit

Permalink
fix #997
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Jul 18, 2023
1 parent 32b671d commit c0b8634
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fetch.js
Expand Up @@ -587,9 +587,7 @@ export function fetch(input, init) {
if (support.blob) {
xhr.responseType = 'blob'
} else if (
support.arrayBuffer &&
request.headers.get('Content-Type') &&
request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1
support.arrayBuffer
) {
xhr.responseType = 'arraybuffer'
}
Expand Down

0 comments on commit c0b8634

Please sign in to comment.