mirror of https://github.com/node-red/node-red.git
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