1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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 RED = require(process.env.NODE_RED_HOME+"/red/red");
var util = require("util"); var util = require("util");
var http = require("http"); var http = require("follow-redirects").http;
var https = require("https"); var https = require("follow-redirects").https;
var urllib = require("url"); var urllib = require("url");
var express = require("express"); var express = require("express");
var jsonParser = express.json(); var jsonParser = express.json();

View File

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