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

Update 21-httprequest.html

Adding the HTTP Persistent web configuration
This commit is contained in:
Ibrahim Al-Mahfooz 2019-08-09 21:26:14 +03:00 committed by GitHub
parent 4d60447242
commit d5b0d2a886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,11 @@
</div> </div>
</div> </div>
<div class="form-row">
<input type="checkbox" id="node-input-http-persistent" style="display: inline-block; width: auto; vertical-align: top;">
<label for="node-input-http-persistent" style="width: auto" data-i18n="httpin.http-persistent"></label>
</div>
<div class="form-row"> <div class="form-row">
<input type="checkbox" id="node-input-useProxy" style="display: inline-block; width: auto; vertical-align: top;"> <input type="checkbox" id="node-input-useProxy" style="display: inline-block; width: auto; vertical-align: top;">
<label for="node-input-useProxy" style="width: auto;"><span data-i18n="httpin.use-proxy"></span></label> <label for="node-input-useProxy" style="width: auto;"><span data-i18n="httpin.use-proxy"></span></label>
@ -102,6 +107,7 @@
paytoqs: {value: false}, paytoqs: {value: false},
url:{value:"",validate:function(v) { return (v.trim().length === 0) || (v.indexOf("://") === -1) || (v.trim().indexOf("http") === 0)} }, url:{value:"",validate:function(v) { return (v.trim().length === 0) || (v.indexOf("://") === -1) || (v.trim().indexOf("http") === 0)} },
tls: {type:"tls-config",required: false}, tls: {type:"tls-config",required: false},
"http-persistent":{value:true},
proxy: {type:"http proxy",required: false}, proxy: {type:"http proxy",required: false},
authType: {value: ""} authType: {value: ""}
}, },