Skip to content

Commit

Permalink
Revert "fix(HTTP Request Node): Remove streaming response (#5663)"
Browse files Browse the repository at this point in the history
This reverts commit 8a21fef.
  • Loading branch information
netroy committed Mar 10, 2023
1 parent 2f227e9 commit 7f6e116
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 7f6e116

Please sign in to comment.