Automatically follow 301-redirects in HTTP request node

Fixes #30
This commit is contained in:
Nick O'Leary 2013-12-20 11:11:50 +00:00
parent 48d37df199
commit 95b8600da7
2 changed files with 4 additions and 3 deletions

View File

@ -16,8 +16,8 @@
var RED = require(process.env.NODE_RED_HOME+"/red/red");
var util = require("util");
var http = require("http");
var https = require("https");
var http = require("follow-redirects").http;
var https = require("follow-redirects").https;
var urllib = require("url");
var express = require("express");
var jsonParser = express.json();

View File

@ -32,7 +32,8 @@
"oauth":"~0.9.10",
"xml2js":"~0.2.8",
"sentiment":"~0.2.1",
"irc":"~0.3.6"
"irc":"~0.3.6",
"follow-redirects":"~0.0.3"
},
"devDependencies": {
"mocha": "~1.12.0",