From c58c45c91797382eddee90d772fd16c6496bfa51 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 25 Oct 2016 21:19:11 +0100 Subject: [PATCH] HTTP In should pass application/octet-stream as buffer not string Fixes #1023 --- nodes/core/io/21-httpin.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nodes/core/io/21-httpin.js b/nodes/core/io/21-httpin.js index cbbc1875e..23b523478 100644 --- a/nodes/core/io/21-httpin.js +++ b/nodes/core/io/21-httpin.js @@ -45,6 +45,9 @@ module.exports = function(RED) { isText = false; } else if (parsedType.subtype !== "octet-stream") { checkUTF = true; + } else { + // applicatino/octet-stream + isText = false; } }