🔧 Bonus ;

This commit is contained in:
Felix Rieseberg 2017-11-20 09:48:33 -08:00
parent b8b3b441a7
commit b029c088db

View file

@ -115,7 +115,7 @@ class ClientRequest extends EventEmitter {
if (typeof options === 'string') { if (typeof options === 'string') {
options = url.parse(options) options = url.parse(options)
} else { } else {
options = Object.assign({}, options); options = Object.assign({}, options)
} }
const method = (options.method || 'GET').toUpperCase() const method = (options.method || 'GET').toUpperCase()