Skip to content
/ qp-n8n Public
forked from n8n-io/n8n

Commit

Permalink
fix(HTTP Request Node): Add streaming to binary response (n8n-io#5701)
Browse files Browse the repository at this point in the history
Revert "fix(HTTP Request Node): Remove streaming response  (n8n-io#5663)"

This reverts commit 8a21fef.
  • Loading branch information
agobrech authored and sunilrr committed Apr 24, 2023
1 parent 4fcbbb3 commit 1b1446a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1205,8 +1205,10 @@ export class HttpRequestV3 implements INodeType {
if (autoDetectResponseFormat || responseFormat === 'file') {
requestOptions.encoding = null;
requestOptions.json = false;
requestOptions.useStream = true;
} else if (bodyContentType === 'raw') {
requestOptions.json = false;
requestOptions.useStream = true;
} else {
requestOptions.json = true;
}
Expand Down

0 comments on commit 1b1446a

Please sign in to comment.