Skip to content

Commit

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

This reverts commit 8a21fef.
  • Loading branch information
agobrech authored Mar 21, 2023
1 parent f7401fb commit 199a91b
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 199a91b

Please sign in to comment.