Gistrec

nodejs request

Jul 5th, 2017
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.69 KB | None | 0 0
  1. IncomingMessage {
  2. _readableState:
  3. ReadableState {
  4. objectMode: false,
  5. highWaterMark: 16384,
  6. buffer: [],
  7. length: 0,
  8. pipes: null,
  9. pipesCount: 0,
  10. flowing: null,
  11. ended: false,
  12. endEmitted: false,
  13. reading: false,
  14. sync: true,
  15. needReadable: false,
  16. emittedReadable: false,
  17. readableListening: false,
  18. defaultEncoding: 'utf8',
  19. ranOut: false,
  20. awaitDrain: 0,
  21. readingMore: false,
  22. decoder: null,
  23. encoding: null },
  24. readable: true,
  25. domain: null,
  26. _events: {},
  27. _eventsCount: 0,
  28. _maxListeners: undefined,
  29. socket:
  30. Socket {
  31. _connecting: false,
  32. _hadError: false,
  33. _handle:
  34. TCP {
  35. _externalStream: {},
  36. fd: 13,
  37. reading: true,
  38. owner: [Circular],
  39. onread: [Function: onread],
  40. onconnection: null,
  41. writeQueueSize: 0 },
  42. _parent: null,
  43. _host: null,
  44. _readableState:
  45. ReadableState {
  46. objectMode: false,
  47. highWaterMark: 16384,
  48. buffer: [],
  49. length: 0,
  50. pipes: null,
  51. pipesCount: 0,
  52. flowing: true,
  53. ended: false,
  54. endEmitted: false,
  55. reading: true,
  56. sync: false,
  57. needReadable: true,
  58. emittedReadable: false,
  59. readableListening: false,
  60. defaultEncoding: 'utf8',
  61. ranOut: false,
  62. awaitDrain: 0,
  63. readingMore: false,
  64. decoder: null,
  65. encoding: null,
  66. resumeScheduled: false },
  67. readable: true,
  68. domain: null,
  69. _events:
  70. { end: [Object],
  71. finish: [Function: onSocketFinish],
  72. _socketEnd: [Function: onSocketEnd],
  73. drain: [Object],
  74. timeout: [Function],
  75. error: [Function: socketOnError],
  76. close: [Object],
  77. data: [Function: socketOnData],
  78. resume: [Function: onSocketResume],
  79. pause: [Function: onSocketPause] },
  80. _eventsCount: 10,
  81. _maxListeners: undefined,
  82. _writableState:
  83. WritableState {
  84. objectMode: false,
  85. highWaterMark: 16384,
  86. needDrain: false,
  87. ending: false,
  88. ended: false,
  89. finished: false,
  90. decodeStrings: false,
  91. defaultEncoding: 'utf8',
  92. length: 0,
  93. writing: false,
  94. corked: 0,
  95. sync: true,
  96. bufferProcessing: false,
  97. onwrite: [Function],
  98. writecb: null,
  99. writelen: 0,
  100. bufferedRequest: null,
  101. lastBufferedRequest: null,
  102. pendingcb: 0,
  103. prefinished: false,
  104. errorEmitted: false },
  105. writable: true,
  106. allowHalfOpen: true,
  107. destroyed: false,
  108. bytesRead: 0,
  109. _bytesDispatched: 0,
  110. _sockname: null,
  111. _pendingData: null,
  112. _pendingEncoding: '',
  113. server:
  114. Server {
  115. domain: null,
  116. _events: [Object],
  117. _eventsCount: 3,
  118. _maxListeners: undefined,
  119. _connections: 1,
  120. _handle: [Object],
  121. _usingSlaves: false,
  122. _slaves: [],
  123. _unref: false,
  124. allowHalfOpen: true,
  125. pauseOnConnect: false,
  126. httpAllowHalfOpen: false,
  127. timeout: 120000,
  128. _pendingResponseData: 0,
  129. _connectionKey: '6::::3000' },
  130. _idleTimeout: 120000,
  131. _idleNext: { _idleNext: [Circular], _idlePrev: [Circular] },
  132. _idlePrev: { _idleNext: [Circular], _idlePrev: [Circular] },
  133. _idleStart: 3043,
  134. parser:
  135. HTTPParser {
  136. '0': [Function: parserOnHeaders],
  137. '1': [Function: parserOnHeadersComplete],
  138. '2': [Function: parserOnBody],
  139. '3': [Function: parserOnMessageComplete],
  140. '4': [Function: onParserExecute],
  141. _headers: [],
  142. _url: '',
  143. _consumed: true,
  144. socket: [Circular],
  145. incoming: [Circular],
  146. maxHeaderPairs: 2000,
  147. onIncoming: [Function: parserOnIncoming] },
  148. on: [Function: socketOnWrap],
  149. _paused: false,
  150. read: [Function],
  151. _consuming: true,
  152. _httpMessage:
  153. ServerResponse {
  154. domain: null,
  155. _events: [Object],
  156. _eventsCount: 1,
  157. _maxListeners: undefined,
  158. output: [],
  159. outputEncodings: [],
  160. outputCallbacks: [],
  161. outputSize: 0,
  162. writable: true,
  163. _last: false,
  164. chunkedEncoding: false,
  165. shouldKeepAlive: true,
  166. useChunkedEncodingByDefault: true,
  167. sendDate: true,
  168. _removedHeader: {},
  169. _contentLength: null,
  170. _hasBody: true,
  171. _trailer: '',
  172. finished: false,
  173. _headerSent: false,
  174. socket: [Circular],
  175. connection: [Circular],
  176. _header: null,
  177. _headers: [Object],
  178. _headerNames: [Object],
  179. _onPendingData: [Function: updateOutgoingData],
  180. req: [Circular],
  181. locals: {} } },
  182. connection:
  183. Socket {
  184. _connecting: false,
  185. _hadError: false,
  186. _handle:
  187. TCP {
  188. _externalStream: {},
  189. fd: 13,
  190. reading: true,
  191. owner: [Circular],
  192. onread: [Function: onread],
  193. onconnection: null,
  194. writeQueueSize: 0 },
  195. _parent: null,
  196. _host: null,
  197. _readableState:
  198. ReadableState {
  199. objectMode: false,
  200. highWaterMark: 16384,
  201. buffer: [],
  202. length: 0,
  203. pipes: null,
  204. pipesCount: 0,
  205. flowing: true,
  206. ended: false,
  207. endEmitted: false,
  208. reading: true,
  209. sync: false,
  210. needReadable: true,
  211. emittedReadable: false,
  212. readableListening: false,
  213. defaultEncoding: 'utf8',
  214. ranOut: false,
  215. awaitDrain: 0,
  216. readingMore: false,
  217. decoder: null,
  218. encoding: null,
  219. resumeScheduled: false },
  220. readable: true,
  221. domain: null,
  222. _events:
  223. { end: [Object],
  224. finish: [Function: onSocketFinish],
  225. _socketEnd: [Function: onSocketEnd],
  226. drain: [Object],
  227. timeout: [Function],
  228. error: [Function: socketOnError],
  229. close: [Object],
  230. data: [Function: socketOnData],
  231. resume: [Function: onSocketResume],
  232. pause: [Function: onSocketPause] },
  233. _eventsCount: 10,
  234. _maxListeners: undefined,
  235. _writableState:
  236. WritableState {
  237. objectMode: false,
  238. highWaterMark: 16384,
  239. needDrain: false,
  240. ending: false,
  241. ended: false,
  242. finished: false,
  243. decodeStrings: false,
  244. defaultEncoding: 'utf8',
  245. length: 0,
  246. writing: false,
  247. corked: 0,
  248. sync: true,
  249. bufferProcessing: false,
  250. onwrite: [Function],
  251. writecb: null,
  252. writelen: 0,
  253. bufferedRequest: null,
  254. lastBufferedRequest: null,
  255. pendingcb: 0,
  256. prefinished: false,
  257. errorEmitted: false },
  258. writable: true,
  259. allowHalfOpen: true,
  260. destroyed: false,
  261. bytesRead: 0,
  262. _bytesDispatched: 0,
  263. _sockname: null,
  264. _pendingData: null,
  265. _pendingEncoding: '',
  266. server:
  267. Server {
  268. domain: null,
  269. _events: [Object],
  270. _eventsCount: 3,
  271. _maxListeners: undefined,
  272. _connections: 1,
  273. _handle: [Object],
  274. _usingSlaves: false,
  275. _slaves: [],
  276. _unref: false,
  277. allowHalfOpen: true,
  278. pauseOnConnect: false,
  279. httpAllowHalfOpen: false,
  280. timeout: 120000,
  281. _pendingResponseData: 0,
  282. _connectionKey: '6::::3000' },
  283. _idleTimeout: 120000,
  284. _idleNext: { _idleNext: [Circular], _idlePrev: [Circular] },
  285. _idlePrev: { _idleNext: [Circular], _idlePrev: [Circular] },
  286. _idleStart: 3043,
  287. parser:
  288. HTTPParser {
  289. '0': [Function: parserOnHeaders],
  290. '1': [Function: parserOnHeadersComplete],
  291. '2': [Function: parserOnBody],
  292. '3': [Function: parserOnMessageComplete],
  293. '4': [Function: onParserExecute],
  294. _headers: [],
  295. _url: '',
  296. _consumed: true,
  297. socket: [Circular],
  298. incoming: [Circular],
  299. maxHeaderPairs: 2000,
  300. onIncoming: [Function: parserOnIncoming] },
  301. on: [Function: socketOnWrap],
  302. _paused: false,
  303. read: [Function],
  304. _consuming: true,
  305. _httpMessage:
  306. ServerResponse {
  307. domain: null,
  308. _events: [Object],
  309. _eventsCount: 1,
  310. _maxListeners: undefined,
  311. output: [],
  312. outputEncodings: [],
  313. outputCallbacks: [],
  314. outputSize: 0,
  315. writable: true,
  316. _last: false,
  317. chunkedEncoding: false,
  318. shouldKeepAlive: true,
  319. useChunkedEncodingByDefault: true,
  320. sendDate: true,
  321. _removedHeader: {},
  322. _contentLength: null,
  323. _hasBody: true,
  324. _trailer: '',
  325. finished: false,
  326. _headerSent: false,
  327. socket: [Circular],
  328. connection: [Circular],
  329. _header: null,
  330. _headers: [Object],
  331. _headerNames: [Object],
  332. _onPendingData: [Function: updateOutgoingData],
  333. req: [Circular],
  334. locals: {} } },
  335. httpVersionMajor: 1,
  336. httpVersionMinor: 1,
  337. httpVersion: '1.1',
  338. complete: false,
  339. headers:
  340. { host: 'gistrec.ru:3000',
  341. connection: 'keep-alive',
  342. pragma: 'no-cache',
  343. 'cache-control': 'no-cache',
  344. 'upgrade-insecure-requests': '1',
  345. 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36',
  346. accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
  347. dnt: '1',
  348. 'accept-encoding': 'gzip, deflate',
  349. 'accept-language': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' },
  350. rawHeaders:
  351. [ 'Host',
  352. 'gistrec.ru:3000',
  353. 'Connection',
  354. 'keep-alive',
  355. 'Pragma',
  356. 'no-cache',
  357. 'Cache-Control',
  358. 'no-cache',
  359. 'Upgrade-Insecure-Requests',
  360. '1',
  361. 'User-Agent',
  362. 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36',
  363. 'Accept',
  364. 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
  365. 'DNT',
  366. '1',
  367. 'Accept-Encoding',
  368. 'gzip, deflate',
  369. 'Accept-Language',
  370. 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' ],
  371. trailers: {},
  372. rawTrailers: [],
  373. upgrade: false,
  374. url: '/',
  375. method: 'GET',
  376. statusCode: null,
  377. statusMessage: null,
  378. client:
  379. Socket {
  380. _connecting: false,
  381. _hadError: false,
  382. _handle:
  383. TCP {
  384. _externalStream: {},
  385. fd: 13,
  386. reading: true,
  387. owner: [Circular],
  388. onread: [Function: onread],
  389. onconnection: null,
  390. writeQueueSize: 0 },
  391. _parent: null,
  392. _host: null,
  393. _readableState:
  394. ReadableState {
  395. objectMode: false,
  396. highWaterMark: 16384,
  397. buffer: [],
  398. length: 0,
  399. pipes: null,
  400. pipesCount: 0,
  401. flowing: true,
  402. ended: false,
  403. endEmitted: false,
  404. reading: true,
  405. sync: false,
  406. needReadable: true,
  407. emittedReadable: false,
  408. readableListening: false,
  409. defaultEncoding: 'utf8',
  410. ranOut: false,
  411. awaitDrain: 0,
  412. readingMore: false,
  413. decoder: null,
  414. encoding: null,
  415. resumeScheduled: false },
  416. readable: true,
  417. domain: null,
  418. _events:
  419. { end: [Object],
  420. finish: [Function: onSocketFinish],
  421. _socketEnd: [Function: onSocketEnd],
  422. drain: [Object],
  423. timeout: [Function],
  424. error: [Function: socketOnError],
  425. close: [Object],
  426. data: [Function: socketOnData],
  427. resume: [Function: onSocketResume],
  428. pause: [Function: onSocketPause] },
  429. _eventsCount: 10,
  430. _maxListeners: undefined,
  431. _writableState:
  432. WritableState {
  433. objectMode: false,
  434. highWaterMark: 16384,
  435. needDrain: false,
  436. ending: false,
  437. ended: false,
  438. finished: false,
  439. decodeStrings: false,
  440. defaultEncoding: 'utf8',
  441. length: 0,
  442. writing: false,
  443. corked: 0,
  444. sync: true,
  445. bufferProcessing: false,
  446. onwrite: [Function],
  447. writecb: null,
  448. writelen: 0,
  449. bufferedRequest: null,
  450. lastBufferedRequest: null,
  451. pendingcb: 0,
  452. prefinished: false,
  453. errorEmitted: false },
  454. writable: true,
  455. allowHalfOpen: true,
  456. destroyed: false,
  457. bytesRead: 0,
  458. _bytesDispatched: 0,
  459. _sockname: null,
  460. _pendingData: null,
  461. _pendingEncoding: '',
  462. server:
  463. Server {
  464. domain: null,
  465. _events: [Object],
  466. _eventsCount: 3,
  467. _maxListeners: undefined,
  468. _connections: 1,
  469. _handle: [Object],
  470. _usingSlaves: false,
  471. _slaves: [],
  472. _unref: false,
  473. allowHalfOpen: true,
  474. pauseOnConnect: false,
  475. httpAllowHalfOpen: false,
  476. timeout: 120000,
  477. _pendingResponseData: 0,
  478. _connectionKey: '6::::3000' },
  479. _idleTimeout: 120000,
  480. _idleNext: { _idleNext: [Circular], _idlePrev: [Circular] },
  481. _idlePrev: { _idleNext: [Circular], _idlePrev: [Circular] },
  482. _idleStart: 3043,
  483. parser:
  484. HTTPParser {
  485. '0': [Function: parserOnHeaders],
  486. '1': [Function: parserOnHeadersComplete],
  487. '2': [Function: parserOnBody],
  488. '3': [Function: parserOnMessageComplete],
  489. '4': [Function: onParserExecute],
  490. _headers: [],
  491. _url: '',
  492. _consumed: true,
  493. socket: [Circular],
  494. incoming: [Circular],
  495. maxHeaderPairs: 2000,
  496. onIncoming: [Function: parserOnIncoming] },
  497. on: [Function: socketOnWrap],
  498. _paused: false,
  499. read: [Function],
  500. _consuming: true,
  501. _httpMessage:
  502. ServerResponse {
  503. domain: null,
  504. _events: [Object],
  505. _eventsCount: 1,
  506. _maxListeners: undefined,
  507. output: [],
  508. outputEncodings: [],
  509. outputCallbacks: [],
  510. outputSize: 0,
  511. writable: true,
  512. _last: false,
  513. chunkedEncoding: false,
  514. shouldKeepAlive: true,
  515. useChunkedEncodingByDefault: true,
  516. sendDate: true,
  517. _removedHeader: {},
  518. _contentLength: null,
  519. _hasBody: true,
  520. _trailer: '',
  521. finished: false,
  522. _headerSent: false,
  523. socket: [Circular],
  524. connection: [Circular],
  525. _header: null,
  526. _headers: [Object],
  527. _headerNames: [Object],
  528. _onPendingData: [Function: updateOutgoingData],
  529. req: [Circular],
  530. locals: {} } },
  531. _consuming: false,
  532. _dumped: false,
  533. next: [Function: next],
  534. baseUrl: '',
  535. originalUrl: '/',
  536. _parsedUrl:
  537. Url {
  538. protocol: null,
  539. slashes: null,
  540. auth: null,
  541. host: null,
  542. port: null,
  543. hostname: null,
  544. hash: null,
  545. search: null,
  546. query: null,
  547. pathname: '/',
  548. path: '/',
  549. href: '/',
  550. _raw: '/' },
  551. params: {},
  552. query: {},
  553. res:
  554. ServerResponse {
  555. domain: null,
  556. _events: { finish: [Function: resOnFinish] },
  557. _eventsCount: 1,
  558. _maxListeners: undefined,
  559. output: [],
  560. outputEncodings: [],
  561. outputCallbacks: [],
  562. outputSize: 0,
  563. writable: true,
  564. _last: false,
  565. chunkedEncoding: false,
  566. shouldKeepAlive: true,
  567. useChunkedEncodingByDefault: true,
  568. sendDate: true,
  569. _removedHeader: {},
  570. _contentLength: null,
  571. _hasBody: true,
  572. _trailer: '',
  573. finished: false,
  574. _headerSent: false,
  575. socket:
  576. Socket {
  577. _connecting: false,
  578. _hadError: false,
  579. _handle: [Object],
  580. _parent: null,
  581. _host: null,
  582. _readableState: [Object],
  583. readable: true,
  584. domain: null,
  585. _events: [Object],
  586. _eventsCount: 10,
  587. _maxListeners: undefined,
  588. _writableState: [Object],
  589. writable: true,
  590. allowHalfOpen: true,
  591. destroyed: false,
  592. bytesRead: 0,
  593. _bytesDispatched: 0,
  594. _sockname: null,
  595. _pendingData: null,
  596. _pendingEncoding: '',
  597. server: [Object],
  598. _idleTimeout: 120000,
  599. _idleNext: [Object],
  600. _idlePrev: [Object],
  601. _idleStart: 3043,
  602. parser: [Object],
  603. on: [Function: socketOnWrap],
  604. _paused: false,
  605. read: [Function],
  606. _consuming: true,
  607. _httpMessage: [Circular] },
  608. connection:
  609. Socket {
  610. _connecting: false,
  611. _hadError: false,
  612. _handle: [Object],
  613. _parent: null,
  614. _host: null,
  615. _readableState: [Object],
  616. readable: true,
  617. domain: null,
  618. _events: [Object],
  619. _eventsCount: 10,
  620. _maxListeners: undefined,
  621. _writableState: [Object],
  622. writable: true,
  623. allowHalfOpen: true,
  624. destroyed: false,
  625. bytesRead: 0,
  626. _bytesDispatched: 0,
  627. _sockname: null,
  628. _pendingData: null,
  629. _pendingEncoding: '',
  630. server: [Object],
  631. _idleTimeout: 120000,
  632. _idleNext: [Object],
  633. _idlePrev: [Object],
  634. _idleStart: 3043,
  635. parser: [Object],
  636. on: [Function: socketOnWrap],
  637. _paused: false,
  638. read: [Function],
  639. _consuming: true,
  640. _httpMessage: [Circular] },
  641. _header: null,
  642. _headers: { 'x-powered-by': 'Express' },
  643. _headerNames: { 'x-powered-by': 'X-Powered-By' },
  644. _onPendingData: [Function: updateOutgoingData],
  645. req: [Circular],
  646. locals: {} },
  647. route: Route { path: '/', stack: [ [Object] ], methods: { get: true } } }
Advertisement
Add Comment
Please, Sign In to add comment