Skip to content

Commit

Permalink
Merge branch 'v1.x' into docs/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS committed May 19, 2024
2 parents e58616b + e62099b commit 92c6e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/adapters/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default isFetchSupported && (async (config) => {

let response = await fetch(request);

const isStreamResponse = responseType === 'stream' || responseType === 'response';
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');

if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
const options = {};
Expand Down

0 comments on commit 92c6e86

Please sign in to comment.