fix(HTTP Request Node): Remove streaming response (#5663)

Remove useStream option from requestOptions
This commit is contained in:
agobrech 2023-03-10 11:54:26 +01:00 committed by कारतोफ्फेलस्क्रिप्ट™
parent 40a6ab814d
commit 974d57dfed

View file

@ -1206,10 +1206,8 @@ export class HttpRequestV3 implements INodeType {
if (autoDetectResponseFormat || responseFormat === 'file') { if (autoDetectResponseFormat || responseFormat === 'file') {
requestOptions.encoding = null; requestOptions.encoding = null;
requestOptions.json = false; requestOptions.json = false;
requestOptions.useStream = true;
} else if (bodyContentType === 'raw') { } else if (bodyContentType === 'raw') {
requestOptions.json = false; requestOptions.json = false;
requestOptions.useStream = true;
} else { } else {
requestOptions.json = true; requestOptions.json = true;
} }