Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { head: null, tail: null, length: 0 },
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: true,
- endEmitted: true,
- reading: false,
- sync: false,
- needReadable: false,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _events:
- { end: [ [Function: responseOnEnd], [Function] ],
- close: [ [Function], [Function] ],
- data: [Function],
- error: [Function] },
- _eventsCount: 4,
- _maxListeners: undefined,
- socket:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 05 a5 02 01 01 02 02 03 03 04 02 c0 2f 04 20 52 f3 a0 39 06 fc 35 bf 24 27 ef 25 91 79 14 67 88 75 23 53 cd f0 a6 50 eb bc 23 17 fe 7e 8c 22 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.khanacademy.org',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: true,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 475,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'GET /api/labs/scratchpads/5692834307407872 HTTP/1.1\r\nhost: www.khanacademy.org\r\ncookie: fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/labs/scratchpads/5692834307407872',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 05 a5 02 01 01 02 02 03 03 04 02 c0 2f 04 20 52 f3 a0 39 06 fc 35 bf 24 27 ef 25 91 79 14 67 88 75 23 53 cd f0 a6 50 eb bc 23 17 fe 7e 8c 22 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.khanacademy.org',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: true,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 475,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'GET /api/labs/scratchpads/5692834307407872 HTTP/1.1\r\nhost: www.khanacademy.org\r\ncookie: fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/labs/scratchpads/5692834307407872',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers:
- { 'content-type': 'application/json; charset=utf-8',
- 'access-control-allow-origin': '*',
- 'access-control-allow-credentials': 'true',
- 'x-ka-api-response': 'true',
- 'x-content-type-options': 'nosniff',
- 'cache-control': 'no-cache',
- 'set-cookie':
- [ 'gae_b_id=X2dhZV9iaW5nb19yYW5kb206M0xSeGdxcFRhRFloVWEwVEUydDdGUHU4SDYxeDd5MkJtRVl1aXI4TA==; expires=Wed, 22 May 2019 14:28:55 GMT; Max-Age=31536000; Path=/',
- 'ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999335:1:; expires=Wed, 22 May 2019 14:28:55 GMT; Max-Age=31536000; Path=/' ],
- 'x-cloud-trace-context': 'f4a264371c12634b182a723740b38aad;o=3',
- date: 'Tue, 22 May 2018 14:28:55 GMT',
- server: 'Google Frontend',
- 'content-length': '2196',
- expires: 'Tue, 22 May 2018 14:28:55 GMT',
- connection: 'close' },
- rawHeaders:
- [ 'Content-Type',
- 'application/json; charset=utf-8',
- 'Access-Control-Allow-Origin',
- '*',
- 'Access-Control-Allow-Credentials',
- 'true',
- 'X-KA-API-Response',
- 'true',
- 'X-Content-Type-Options',
- 'nosniff',
- 'Cache-Control',
- 'no-cache',
- 'Set-Cookie',
- 'gae_b_id=X2dhZV9iaW5nb19yYW5kb206M0xSeGdxcFRhRFloVWEwVEUydDdGUHU4SDYxeDd5MkJtRVl1aXI4TA==; expires=Wed, 22 May 2019 14:28:55 GMT; Max-Age=31536000; Path=/',
- 'Set-Cookie',
- 'ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999335:1:; expires=Wed, 22 May 2019 14:28:55 GMT; Max-Age=31536000; Path=/',
- 'X-Cloud-Trace-Context',
- 'f4a264371c12634b182a723740b38aad;o=3',
- 'Date',
- 'Tue, 22 May 2018 14:28:55 GMT',
- 'Server',
- 'Google Frontend',
- 'Content-Length',
- '2196',
- 'Expires',
- 'Tue, 22 May 2018 14:28:55 GMT',
- 'Connection',
- 'close' ],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '',
- method: null,
- statusCode: 200,
- statusMessage: 'OK',
- client:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 05 a5 02 01 01 02 02 03 03 04 02 c0 2f 04 20 52 f3 a0 39 06 fc 35 bf 24 27 ef 25 91 79 14 67 88 75 23 53 cd f0 a6 50 eb bc 23 17 fe 7e 8c 22 04 ... >,
- NPNProtocols: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener] },
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.khanacademy.org',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [Object],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- resumeScheduled: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: true,
- decoder: null,
- encoding: null },
- readable: false,
- domain: null,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 475,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'GET /api/labs/scratchpads/5692834307407872 HTTP/1.1\r\nhost: www.khanacademy.org\r\ncookie: fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/labs/scratchpads/5692834307407872',
- _ended: true,
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _consuming: true,
- _dumped: false,
- req:
- ClientRequest {
- domain: null,
- _events:
- { socket: [Function],
- response: [Function: bound ],
- error: [Function: bound ],
- drain: [Function],
- prefinish: [Function: requestOnPrefinish] },
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.khanacademy.org',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 475,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.khanacademy.org',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- _bytesDispatched: 475,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _header: 'GET /api/labs/scratchpads/5692834307407872 HTTP/1.1\r\nhost: www.khanacademy.org\r\ncookie: fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==\r\nConnection: close\r\n\r\n',
- _headers:
- { host: 'www.khanacademy.org',
- cookie: 'fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==' },
- _headerNames: { host: 'host', cookie: 'cookie' },
- _onPendingData: null,
- agent:
- Agent {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/labs/scratchpads/5692834307407872',
- _ended: true,
- parser: null,
- res: [Circular] },
- request:
- Request {
- domain: null,
- _events:
- { error: [Function: bound ],
- complete: [Function: bound ],
- pipe: [Function],
- data: [Function],
- end: [Function] },
- _eventsCount: 5,
- _maxListeners: undefined,
- uri:
- Url {
- protocol: 'https:',
- slashes: true,
- auth: null,
- host: 'www.khanacademy.org',
- port: 443,
- hostname: 'www.khanacademy.org',
- hash: null,
- search: null,
- query: null,
- pathname: '/api/labs/scratchpads/5692834307407872',
- path: '/api/labs/scratchpads/5692834307407872',
- href: 'https://www.khanacademy.org/api/labs/scratchpads/5692834307407872' },
- callback: [Function],
- readable: true,
- writable: true,
- _qs:
- Querystring {
- request: [Circular],
- lib: [Object],
- useQuerystring: undefined,
- parseOptions: {},
- stringifyOptions: {} },
- _auth:
- Auth {
- request: [Circular],
- hasAuth: false,
- sentAuth: false,
- bearerToken: null,
- user: null,
- pass: null },
- _oauth: OAuth { request: [Circular], params: null },
- _multipart:
- Multipart {
- request: [Circular],
- boundary: 'de4cbf03-4101-42cf-a93a-d9185eba1362',
- chunked: false,
- body: null },
- _redirect:
- Redirect {
- request: [Circular],
- followRedirect: true,
- followRedirects: true,
- followAllRedirects: false,
- followOriginalHttpMethod: false,
- allowRedirect: [Function],
- maxRedirects: 10,
- redirects: [],
- redirectsFollowed: 0,
- removeRefererHeader: false },
- _tunnel:
- Tunnel {
- request: [Circular],
- proxyHeaderWhiteList: [Object],
- proxyHeaderExclusiveList: [] },
- headers: { cookie: 'fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==' },
- setHeader: [Function],
- hasHeader: [Function],
- getHeader: [Function],
- removeHeader: [Function],
- method: 'GET',
- localAddress: undefined,
- pool: {},
- dests: [],
- __isRequestRequest: true,
- _callback: [Function],
- proxy: null,
- tunnel: true,
- setHost: true,
- originalCookieHeader: undefined,
- _jar: RequestJar { _jar: [Object] },
- port: 443,
- host: 'www.khanacademy.org',
- path: '/api/labs/scratchpads/5692834307407872',
- httpModule:
- { Server: [Object],
- createServer: [Function],
- globalAgent: [Object],
- Agent: [Object],
- request: [Function],
- get: [Function] },
- agentClass: { [Function: Agent] super_: [Object] },
- agent:
- Agent {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- _started: true,
- href: 'https://www.khanacademy.org/api/labs/scratchpads/5692834307407872',
- req:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 5,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Object],
- connection: [Object],
- _header: 'GET /api/labs/scratchpads/5692834307407872 HTTP/1.1\r\nhost: www.khanacademy.org\r\ncookie: fkey=1.0_9_452mla8VaRlw==_1526999327; gae_b_id=; ka_session=AHLAN6QIZYacbGSkk9fgBCPq88P29b5rjA8eDVcs:1526999327:1526999331:1:; KAID=YWc1emZtdG9ZVzR0WVdOaFpHVnRlWElzQ3hJSVZYTmxja1JoZEdFaUhtdGhhV1JmTVRFeU5URTBPVGN4TVRNNU9EazBNelEwT1RZek5UZ3dOQXcKMjAxODE0MjE0Mjg1Mi40NjY2MzAKMAoKZWQ1NDViOGE3NDZkOTlhNThmYTVhZjRkM2ZhM2QzZTljYTEzMTRmMGFlM2QzMGE5NTQzODQzZWJhNzJhNjM1Yw==\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path: '/api/labs/scratchpads/5692834307407872',
- _ended: true,
- parser: null,
- res: [Circular] },
- ntick: true,
- response: [Circular],
- originalHost: 'www.khanacademy.org',
- originalHostHeaderName: 'host',
- responseContent: [Circular],
- _destdata: true,
- _ended: true,
- _callbackCalled: true },
- toJSON: [Function: responseToJSON],
- caseless:
- Caseless {
- dict:
- { 'content-type': 'application/json; charset=utf-8',
- 'access-control-allow-origin': '*',
- 'access-control-allow-credentials': 'true',
- 'x-ka-api-response': 'true',
- 'x-content-type-options': 'nosniff',
- 'cache-control': 'no-cache',
- 'set-cookie': [Object],
- 'x-cloud-trace-context': 'f4a264371c12634b182a723740b38aad;o=3',
- date: 'Tue, 22 May 2018 14:28:55 GMT',
- server: 'Google Frontend',
- 'content-length': '2196',
- expires: 'Tue, 22 May 2018 14:28:55 GMT',
- connection: 'close' } },
- read: [Function],
- body: '{"contentKindCode": "p", "newUrlPath": "/computer-programming/new/pjs", "key": "ag5zfmtoYW4tYWNhZGVteXIXCxIKU2NyYXRjaHBhZBiAgKK1pLOOCgw", "relativeUrl": "/computer-programming/new-program/5692834307407872", "originScratchpadId": null, "forkedFromTopic": "computer-programming", "projectEval": null, "height": 400, "originIsProject": false, "canvasOnly": false, "originSimilarity": 0.0, "id": 5692834307407872, "definitelyNotSpam": false, "editSlug": "edit/p/new-program", "category": null, "originRevisionId": null, "title": "New Program", "translatedProjectEval": null, "sendToPeers": false, "conceptTags": [], "slug": "new-program", "isChallenge": false, "width": 400, "descriptionHtml": "", "projectEvalTips": null, "youtubeId": null, "docsUrlPath": "/computer-programming/pjs-documentation", "contentKind": "Scratchpad", "type": "scratchpad", "revision": {"tests": null, "code": "", "created": "2018-05-22T14:28:25Z", "folds": [], "translatedMp3Url": null, "hasAudio": false, "mp3Url": null, "editorType": "ace_pjs", "playback": "", "youtubeId": null, "configVersion": 4, "id": 5707702298738688}, "tests": "", "imagePath": "/computer-programming/new-program/5692834307407872/5707702298738688.png", "nodeType": "scratchpad", "description": "", "isProject": false, "tags": [], "translatedDescription": "", "byChild": false, "difficulty": null, "translatedTests": "", "sponsored": false, "hideFromHotlist": false, "date": "2018-05-22T14:28:25Z", "nodeSlug": "p/new-program", "spinoffCount": 0, "kind": "Scratchpad", "termMap": {"new": "New Program", "guidelines": "Program Guidelines", "restart": "Restart"}, "translatedDescriptionHtml": "", "globalId": "p5692834307407872", "created": "2018-05-10T00:03:28Z", "url": "https://www.khanacademy.org/computer-programming/new-program/5692834307407872", "imageUrl": "https://www.khanacademy.org/computer-programming/new-program/5692834307407872/5707702298738688.png", "isPublished": false, "sumVotesIncremented": 1, "defaultUrlPath": null, "flags": [], "frozenDescriptionHtml": "", "isProjectOrFork": false, "translatedProjectEvalTips": null, "userAuthoredContentType": "pjs", "kaid": "kaid_416949819026388899719312", "translatedTitle": "New Program"}' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement