mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(HTTP Request Node): Remove streaming response (#5663)
Remove useStream option from requestOptions
This commit is contained in:
parent
dd93c0890b
commit
8a21fefbc6
|
@ -1205,10 +1205,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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue