1
0
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:
Nick O'Leary 2016-10-25 21:19:11 +01:00
parent 45eba5cabd
commit c58c45c917

View File

@ -45,6 +45,9 @@ module.exports = function(RED) {
isText = false;
} else if (parsedType.subtype !== "octet-stream") {
checkUTF = true;
} else {
// applicatino/octet-stream
isText = false;
}
}