const headers = response.headers; for (let name in headers) { if (headers.hasOwnProperty(name)) { if (/^set-cookie$/i.test(name)) { const header = headers[name];
!res.headers.hasOwnProperty("Set-Cookie") && !res.headers.hasOwnProperty("set-cookie") ) { logger.error("Login error.", body)
if (!opts.hasOwnProperty('url')) { throw new Error('Missing url option from options for request method.') if (res.headers.hasOwnProperty('location') && opts.followRedirects) { opts.url = (new URL(res.headers['location'], opts.url)).toString()
request.connection = connection; if (!request.headers.hasOwnProperty('binding')) { request.headers['binding'] = 'H';
if (!request.headers.hasOwnProperty('binding')) { request.headers['binding'] = 'H';
request.connection = connection; if (!request.headers.hasOwnProperty('binding')) { request.headers['binding'] = 'H';