mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(HTTP Request Node): Add streaming to binary response (#5701)
Revert "fix(HTTP Request Node): Remove streaming response (#5663)"
This reverts commit 8a21fefbc6
.
This commit is contained in:
parent
f7401fb613
commit
199a91b398
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue