mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
ebb3fb96cd
commit
0d08dc410e
@ -88,6 +88,8 @@
|
|||||||
<dt class="optional">rejectUnauthorized</dt>
|
<dt class="optional">rejectUnauthorized</dt>
|
||||||
<dd>If set to <code>true</code>, allows requests to be made to https sites that use
|
<dd>If set to <code>true</code>, allows requests to be made to https sites that use
|
||||||
self signed certificates.</dd>
|
self signed certificates.</dd>
|
||||||
|
<dt class="optional">followRedirects</dt>
|
||||||
|
<dd>If set to <code>false</code> prevent following Redirect (HTTP 301).<code>true</code> by default</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<h3>Outputs</h3>
|
<h3>Outputs</h3>
|
||||||
<dl class="message-properties">
|
<dl class="message-properties">
|
||||||
|
@ -108,6 +108,9 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (msg.hasOwnProperty('followRedirects')) {
|
||||||
|
opts.followRedirects = msg.followRedirects;
|
||||||
|
}
|
||||||
if (msg.cookies) {
|
if (msg.cookies) {
|
||||||
var cookies = [];
|
var cookies = [];
|
||||||
if (opts.headers.hasOwnProperty('cookie')) {
|
if (opts.headers.hasOwnProperty('cookie')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user