Comparing version 0.5.3 to 0.5.4
@@ -140,4 +140,4 @@ /** | ||
opt.headers = opt.headers || {}; | ||
if (!opt.headers.HOST && !opt.headers.host) { | ||
opt.headers.HOST = opt.host + ':' + opt.port; | ||
if (!opt.headers.Host && !opt.headers.host && !opt.headers.HOST) { | ||
opt.headers.Host = opt.host + ':' + opt.port; | ||
} | ||
@@ -144,0 +144,0 @@ opt.path = url.resolve(uri, path); |
{ | ||
"name": "node-ral", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "a rpc client for node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
323418