Skip to content

Commit c0b8634

Browse files
Jake ChampionJakeChampion
Jake Champion
authored andcommittedJul 18, 2023
fix #997
1 parent 32b671d commit c0b8634

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎fetch.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,7 @@ export function fetch(input, init) {
587587
if (support.blob) {
588588
xhr.responseType = 'blob'
589589
} else if (
590-
support.arrayBuffer &&
591-
request.headers.get('Content-Type') &&
592-
request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1
590+
support.arrayBuffer
593591
) {
594592
xhr.responseType = 'arraybuffer'
595593
}

0 commit comments

Comments
 (0)
Please sign in to comment.