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 GitHub
parent dd93c0890b
commit 8a21fefbc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1205,10 +1205,8 @@ 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;
}