-
-
Save joepie91/de07ea9f088dabb5fa3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ended: false, | |
| endEmitted: false, | |
| reading: true, | |
| sync: false, | |
| needReadable: true, | |
| emittedReadable: false, | |
| readableListening: false, | |
| defaultEncoding: 'utf8', | |
| ranOut: false, | |
| awaitDrain: 0, | |
| readingMore: false, | |
| decoder: null, | |
| encoding: null, | |
| resumeScheduled: false }, | |
| readable: false, | |
| domain: null, | |
| _events: | |
| { end: [Object], | |
| finish: [Function: onSocketFinish], | |
| _socketEnd: [Function: onSocketEnd], | |
| free: [Function: onFree], | |
| close: [Object], | |
| agentRemove: [Function: onRemove], | |
| drain: [Function: ondrain], | |
| error: [Function: socketErrorListener] }, | |
| _eventsCount: 8, | |
| _maxListeners: undefined, | |
| _writableState: | |
| WritableState { | |
| objectMode: false, | |
| highWaterMark: 16384, | |
| needDrain: false, | |
| ending: true, | |
| ended: true, | |
| finished: true, | |
| decodeStrings: false, | |
| defaultEncoding: 'utf8', | |
| length: 0, | |
| writing: false, | |
| corked: 0, | |
| sync: false, | |
| bufferProcessing: false, | |
| onwrite: [Function], | |
| writecb: null, | |
| writelen: 0, | |
| bufferedRequest: null, | |
| lastBufferedRequest: null, | |
| pendingcb: 0, | |
| prefinished: true, | |
| errorEmitted: false }, | |
| writable: false, | |
| allowHalfOpen: false, | |
| destroyed: true, | |
| bytesRead: 159, | |
| _bytesDispatched: 118, | |
| _sockname: null, | |
| _pendingData: null, | |
| _pendingEncoding: '', | |
| parser: null, | |
| _httpMessage: | |
| ClientRequest { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 2, | |
| _maxListeners: undefined, | |
| output: [], | |
| outputEncodings: [], | |
| outputCallbacks: [], | |
| outputSize: 0, | |
| writable: true, | |
| _last: true, | |
| chunkedEncoding: false, | |
| shouldKeepAlive: false, | |
| useChunkedEncodingByDefault: false, | |
| sendDate: false, | |
| _removedHeader: {}, | |
| _contentLength: 0, | |
| _hasBody: true, | |
| _trailer: '', | |
| finished: true, | |
| _headerSent: true, | |
| socket: [Circular], | |
| connection: [Circular], | |
| _header: 'GET /gui/token.html HTTP/1.1\r\nuser-agent: MyCustomUserAgent/2.0\r\ncookie: \r\nHost: localhost:8080\r\nConnection: close\r\n\r\n', | |
| _headers: [Object], | |
| _headerNames: [Object], | |
| _onPendingData: null, | |
| agent: [Object], | |
| socketPath: undefined, | |
| method: 'GET', | |
| path: '/gui/token.html', | |
| parser: null, | |
| res: [Circular] }, | |
| read: [Function], | |
| _consuming: true, | |
| _idleNext: null, | |
| _idlePrev: null, | |
| _idleTimeout: -1 }, | |
| connection: | |
| Socket { | |
| _connecting: false, | |
| _hadError: false, | |
| _handle: null, | |
| _parent: null, | |
| _host: 'localhost', | |
| _readableState: | |
| ReadableState { | |
| objectMode: false, | |
| highWaterMark: 16384, | |
| buffer: [], | |
| length: 0, | |
| pipes: null, | |
| pipesCount: 0, | |
| flowing: true, | |
| ended: false, | |
| endEmitted: false, | |
| reading: true, | |
| sync: false, | |
| needReadable: true, | |
| emittedReadable: false, | |
| readableListening: false, | |
| defaultEncoding: 'utf8', | |
| ranOut: false, | |
| awaitDrain: 0, | |
| readingMore: false, | |
| decoder: null, | |
| encoding: null, | |
| resumeScheduled: false }, | |
| readable: false, | |
| domain: null, | |
| _events: | |
| { end: [Object], | |
| finish: [Function: onSocketFinish], | |
| _socketEnd: [Function: onSocketEnd], | |
| free: [Function: onFree], | |
| close: [Object], | |
| agentRemove: [Function: onRemove], | |
| drain: [Function: ondrain], | |
| error: [Function: socketErrorListener] }, | |
| _eventsCount: 8, | |
| _maxListeners: undefined, | |
| _writableState: | |
| WritableState { | |
| objectMode: false, | |
| highWaterMark: 16384, | |
| needDrain: false, | |
| ending: true, | |
| ended: true, | |
| finished: true, | |
| decodeStrings: false, | |
| defaultEncoding: 'utf8', | |
| length: 0, | |
| writing: false, | |
| corked: 0, | |
| sync: false, | |
| bufferProcessing: false, | |
| onwrite: [Function], | |
| writecb: null, | |
| writelen: 0, | |
| bufferedRequest: null, | |
| lastBufferedRequest: null, | |
| pendingcb: 0, | |
| prefinished: true, | |
| errorEmitted: false }, | |
| writable: false, | |
| allowHalfOpen: false, | |
| destroyed: true, | |
| bytesRead: 159, | |
| _bytesDispatched: 118, | |
| _sockname: null, | |
| _pendingData: null, | |
| _pendingEncoding: '', | |
| parser: null, | |
| _httpMessage: | |
| ClientRequest { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 2, | |
| _maxListeners: undefined, | |
| output: [], | |
| outputEncodings: [], | |
| outputCallbacks: [], | |
| outputSize: 0, | |
| writable: true, | |
| _last: true, | |
| chunkedEncoding: false, | |
| shouldKeepAlive: false, | |
| useChunkedEncodingByDefault: false, | |
| sendDate: false, | |
| _removedHeader: {}, | |
| _contentLength: 0, | |
| _hasBody: true, | |
| _trailer: '', | |
| finished: true, | |
| _headerSent: true, | |
| socket: [Circular], | |
| connection: [Circular], | |
| _header: 'GET /gui/token.html HTTP/1.1\r\nuser-agent: MyCustomUserAgent/2.0\r\ncookie: \r\nHost: localhost:8080\r\nConnection: close\r\n\r\n', | |
| _headers: [Object], | |
| _headerNames: [Object], | |
| _onPendingData: null, | |
| agent: [Object], | |
| socketPath: undefined, | |
| method: 'GET', | |
| path: '/gui/token.html', | |
| parser: null, | |
| res: [Circular] }, | |
| read: [Function], | |
| _consuming: true, | |
| _idleNext: null, | |
| _idlePrev: null, | |
| _idleTimeout: -1 }, | |
| httpVersionMajor: 1, | |
| httpVersionMinor: 1, | |
| httpVersion: '1.1', | |
| complete: true, | |
| headers: | |
| { connection: 'close', | |
| 'content-length': '0', | |
| 'content-type': 'text/html', | |
| 'www-authenticate': 'Basic realm="uTorrent"', | |
| 'cache-control': 'no-cache' }, | |
| rawHeaders: | |
| [ 'Connection', | |
| 'close', | |
| 'Content-Length', | |
| '0', | |
| 'Content-Type', | |
| 'text/html', | |
| 'WWW-Authenticate', | |
| 'Basic realm="uTorrent"', | |
| 'Cache-Control', | |
| 'no-cache' ], | |
| trailers: {}, | |
| rawTrailers: [], | |
| upgrade: false, | |
| url: '', | |
| method: null, | |
| statusCode: 401, | |
| statusMessage: 'Unauthorized', | |
| client: | |
| Socket { | |
| _connecting: false, | |
| _hadError: false, | |
| _handle: null, | |
| _parent: null, | |
| _host: 'localhost', | |
| _readableState: | |
| ReadableState { | |
| objectMode: false, | |
| highWaterMark: 16384, | |
| buffer: [], | |
| length: 0, | |
| pipes: null, | |
| pipesCount: 0, | |
| flowing: true, | |
| ended: false, | |
| endEmitted: false, | |
| reading: true, | |
| sync: false, | |
| needReadable: true, | |
| emittedReadable: false, | |
| readableListening: false, | |
| defaultEncoding: 'utf8', | |
| ranOut: false, | |
| awaitDrain: 0, | |
| readingMore: false, | |
| decoder: null, | |
| encoding: null, | |
| resumeScheduled: false }, | |
| readable: false, | |
| domain: null, | |
| _events: | |
| { end: [Object], | |
| finish: [Function: onSocketFinish], | |
| _socketEnd: [Function: onSocketEnd], | |
| free: [Function: onFree], | |
| close: [Object], | |
| agentRemove: [Function: onRemove], | |
| drain: [Function: ondrain], | |
| error: [Function: socketErrorListener] }, | |
| _eventsCount: 8, | |
| _maxListeners: undefined, | |
| _writableState: | |
| WritableState { | |
| objectMode: false, | |
| highWaterMark: 16384, | |
| needDrain: false, | |
| ending: true, | |
| ended: true, | |
| finished: true, | |
| decodeStrings: false, | |
| defaultEncoding: 'utf8', | |
| length: 0, | |
| writing: false, | |
| corked: 0, | |
| sync: false, | |
| bufferProcessing: false, | |
| onwrite: [Function], | |
| writecb: null, | |
| writelen: 0, | |
| bufferedRequest: null, | |
| lastBufferedRequest: null, | |
| pendingcb: 0, | |
| prefinished: true, | |
| errorEmitted: false }, | |
| writable: false, | |
| allowHalfOpen: false, | |
| destroyed: true, | |
| bytesRead: 159, | |
| _bytesDispatched: 118, | |
| _sockname: null, | |
| _pendingData: null, | |
| _pendingEncoding: '', | |
| parser: null, | |
| _httpMessage: | |
| ClientRequest { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 2, | |
| _maxListeners: undefined, | |
| output: [], | |
| outputEncodings: [], | |
| outputCallbacks: [], | |
| outputSize: 0, | |
| writable: true, | |
| _last: true, | |
| chunkedEncoding: false, | |
| shouldKeepAlive: false, | |
| useChunkedEncodingByDefault: false, | |
| sendDate: false, | |
| _removedHeader: {}, | |
| _contentLength: 0, | |
| _hasBody: true, | |
| _trailer: '', | |
| finished: true, | |
| _headerSent: true, | |
| socket: [Circular], | |
| connection: [Circular], | |
| _header: 'GET /gui/token.html HTTP/1.1\r\nuser-agent: MyCustomUserAgent/2.0\r\ncookie: \r\nHost: localhost:8080\r\nConnection: close\r\n\r\n', | |
| _headers: [Object], | |
| _headerNames: [Object], | |
| _onPendingData: null, | |
| agent: [Object], | |
| socketPath: undefined, | |
| method: 'GET', | |
| path: '/gui/token.html', | |
| parser: null, | |
| res: [Circular] }, | |
| read: [Function], | |
| _consuming: true, | |
| _idleNext: null, | |
| _idlePrev: null, | |
| _idleTimeout: -1 }, | |
| _consuming: true, | |
| _dumped: false, | |
| req: | |
| ClientRequest { | |
| domain: null, | |
| _events: { error: [Function], response: [Function] }, | |
| _eventsCount: 2, | |
| _maxListeners: undefined, | |
| output: [], | |
| outputEncodings: [], | |
| outputCallbacks: [], | |
| outputSize: 0, | |
| writable: true, | |
| _last: true, | |
| chunkedEncoding: false, | |
| shouldKeepAlive: false, | |
| useChunkedEncodingByDefault: false, | |
| sendDate: false, | |
| _removedHeader: {}, | |
| _contentLength: 0, | |
| _hasBody: true, | |
| _trailer: '', | |
| finished: true, | |
| _headerSent: true, | |
| socket: | |
| Socket { | |
| _connecting: false, | |
| _hadError: false, | |
| _handle: null, | |
| _parent: null, | |
| _host: 'localhost', | |
| _readableState: [Object], | |
| readable: false, | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 8, | |
| _maxListeners: undefined, | |
| _writableState: [Object], | |
| writable: false, | |
| allowHalfOpen: false, | |
| destroyed: true, | |
| bytesRead: 159, | |
| _bytesDispatched: 118, | |
| _sockname: null, | |
| _pendingData: null, | |
| _pendingEncoding: '', | |
| parser: null, | |
| _httpMessage: [Circular], | |
| read: [Function], | |
| _consuming: true, | |
| _idleNext: null, | |
| _idlePrev: null, | |
| _idleTimeout: -1 }, | |
| connection: | |
| Socket { | |
| _connecting: false, | |
| _hadError: false, | |
| _handle: null, | |
| _parent: null, | |
| _host: 'localhost', | |
| _readableState: [Object], | |
| readable: false, | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 8, | |
| _maxListeners: undefined, | |
| _writableState: [Object], | |
| writable: false, | |
| allowHalfOpen: false, | |
| destroyed: true, | |
| bytesRead: 159, | |
| _bytesDispatched: 118, | |
| _sockname: null, | |
| _pendingData: null, | |
| _pendingEncoding: '', | |
| parser: null, | |
| _httpMessage: [Circular], | |
| read: [Function], | |
| _consuming: true, | |
| _idleNext: null, | |
| _idlePrev: null, | |
| _idleTimeout: -1 }, | |
| _header: 'GET /gui/token.html HTTP/1.1\r\nuser-agent: MyCustomUserAgent/2.0\r\ncookie: \r\nHost: localhost:8080\r\nConnection: close\r\n\r\n', | |
| _headers: | |
| { 'user-agent': 'MyCustomUserAgent/2.0', | |
| cookie: '', | |
| host: 'localhost:8080' }, | |
| _headerNames: { 'user-agent': 'user-agent', cookie: 'cookie', host: 'Host' }, | |
| _onPendingData: null, | |
| agent: | |
| Agent { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 1, | |
| _maxListeners: undefined, | |
| defaultPort: 80, | |
| protocol: 'http:', | |
| options: [Object], | |
| requests: {}, | |
| sockets: {}, | |
| freeSockets: {}, | |
| keepAliveMsecs: 1000, | |
| keepAlive: false, | |
| maxSockets: Infinity, | |
| maxFreeSockets: 256 }, | |
| socketPath: undefined, | |
| method: 'GET', | |
| path: '/gui/token.html', | |
| parser: null, | |
| res: [Circular] }, | |
| request: | |
| { url: 'http://admin:password2@localhost:8080/gui/token.html', | |
| options: | |
| { headers: [Object], | |
| method: 'get', | |
| hostname: 'localhost', | |
| port: '8080', | |
| path: '/gui/token.html' }, | |
| cookieJar: { set: [Function], get: [Function], jar: [Object] }, | |
| responseOptions: | |
| { discardResponse: false, | |
| keepRedirectResponses: false, | |
| followRedirects: true, | |
| noDecode: false, | |
| decodeJSON: false, | |
| stream: false, | |
| justPrepare: false, | |
| redirectLimit: 10, | |
| onDownloadProgress: undefined, | |
| responseTimeout: undefined }, | |
| protocol: 'http', | |
| protocolModule: | |
| { IncomingMessage: [Object], | |
| METHODS: [Object], | |
| OutgoingMessage: [Object], | |
| ServerResponse: [Object], | |
| STATUS_CODES: [Object], | |
| Agent: [Object], | |
| globalAgent: [Object], | |
| ClientRequest: [Object], | |
| request: [Function], | |
| get: [Function], | |
| _connectionListener: [Function: connectionListener], | |
| Server: [Object], | |
| createServer: [Function], | |
| Client: [Function: deprecated], | |
| createClient: [Function: deprecated] }, | |
| onUploadProgress: undefined }, | |
| requestState: | |
| { originalOptions: { method: 'get' }, | |
| redirectHistory: [], | |
| sessionOptions: { headers: [Object], cookieJar: [Object] } }, | |
| redirectHistory: [], | |
| on: [Function], | |
| resume: [Function], | |
| read: [Function], | |
| body: [] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment