Port rest_client extension

from +13004
pull/282/head
Lennart Kats 2016-03-24 19:51:21 +00:00
rodzic c1147c068e
commit 78f2824cc3
1 zmienionych plików z 5 dodań i 1 usunięć

6
node_modules/c9/rest_client.js wygenerowano vendored
Wyświetl plik

@ -44,7 +44,11 @@ function RestClient(host, port, config) {
port: port,
path: path,
method: method,
headers: headers
headers: headers,
timeout: config.timeout || 60 * 1000,
pool: config.pool || {
maxSockets: 100000,
},
};
if (config.username)
options.auth = config.username + ":" + config.password;