From 4e5e7cc89baee5fcbb66fed7ebc9bd38825ebb5d Mon Sep 17 00:00:00 2001 From: Aaron Lozier Date: Sat, 17 Mar 2018 15:49:42 -0500 Subject: [PATCH] style(): removing strictSSL option from subsequent calls --- src/lib/up-storage.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/up-storage.js b/src/lib/up-storage.js index 506a7ba6c..6da3942de 100644 --- a/src/lib/up-storage.js +++ b/src/lib/up-storage.js @@ -131,7 +131,6 @@ class ProxyStorage implements IProxy { method: method, headers: headers, uri: uri, - strictSSL: this.strict_ssl }, 'making request: \'@{method} @{uri}\''); if (isObject(options.json)) { @@ -206,7 +205,7 @@ class ProxyStorage implements IProxy { encoding: null, gzip: true, timeout: this.timeout, - strictSSL: this.strict_ssl + strictSSL: this.strict_ssl, }, requestCallback); let statusCalled = false; @@ -391,7 +390,6 @@ class ProxyStorage implements IProxy { json: true, headers: headers, req: options.req, - strictSSL: this.strict_ssl }, (err, res, body) => { if (err) { return callback(err); @@ -423,7 +421,6 @@ class ProxyStorage implements IProxy { const readStream = this.request({ uri_full: url, encoding: null, - strictSSL: this.strict_ssl, headers: { Accept: contenTypeAccept, }, @@ -471,7 +468,6 @@ class ProxyStorage implements IProxy { const requestStream: stream$Readable = this.request({ uri: options.req.url, req: options.req, - strictSSL: this.strict_ssl, headers: { referer: options.req.headers.referer, },