Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cr313 committed Jul 18, 2023
1 parent 4202177 commit bfbd759
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 bfbd759

Please sign in to comment.