mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
HTTP In should pass application/octet-stream as buffer not string
Fixes #1023
This commit is contained in:
parent
45eba5cabd
commit
c58c45c917
@ -45,6 +45,9 @@ module.exports = function(RED) {
|
|||||||
isText = false;
|
isText = false;
|
||||||
} else if (parsedType.subtype !== "octet-stream") {
|
} else if (parsedType.subtype !== "octet-stream") {
|
||||||
checkUTF = true;
|
checkUTF = true;
|
||||||
|
} else {
|
||||||
|
// applicatino/octet-stream
|
||||||
|
isText = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user