diff --git a/nodes/io/21-httpin.js b/nodes/io/21-httpin.js index 97ebe9c44..1bc527fda 100644 --- a/nodes/io/21-httpin.js +++ b/nodes/io/21-httpin.js @@ -83,7 +83,7 @@ function HTTPRequest(n) { var opts = urllib.parse(msg.url||url); opts.method = (msg.method||method).toUpperCase(); if (msg.headers) { - opts.header = msg.headers; + opts.headers = msg.headers; } var req = httplib.request(opts,function(res) { res.setEncoding('utf8');