Advertisement
Guest User

post-multer req

a guest
Jan 11th, 2017
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 24.45 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: false,
  11.       ended: true,
  12.       endEmitted: true,
  13.       reading: false,
  14.       sync: false,
  15.       needReadable: false,
  16.       emittedReadable: false,
  17.       readableListening: false,
  18.       resumeScheduled: false,
  19.       defaultEncoding: 'utf8',
  20.       ranOut: false,
  21.       awaitDrain: 0,
  22.       readingMore: false,
  23.       decoder: null,
  24.       encoding: null },
  25.    readable: false,
  26.    domain: null,
  27.    _events: { readable: [Function: bound ] },
  28.    _eventsCount: 1,
  29.    _maxListeners: undefined,
  30.    socket:
  31.     Socket {
  32.       connecting: false,
  33.       _hadError: false,
  34.       _handle:
  35.        TCP {
  36.          bytesRead: 1724,
  37.          _externalStream: {},
  38.          fd: 11,
  39.          reading: true,
  40.          owner: [Circular],
  41.          onread: [Function: onread],
  42.          onconnection: null,
  43.          writeQueueSize: 0 },
  44.       _parent: null,
  45.       _host: null,
  46.       _readableState:
  47.        ReadableState {
  48.          objectMode: false,
  49.          highWaterMark: 16384,
  50.          buffer: [],
  51.          length: 0,
  52.          pipes: null,
  53.          pipesCount: 0,
  54.          flowing: true,
  55.          ended: false,
  56.          endEmitted: false,
  57.          reading: true,
  58.          sync: false,
  59.          needReadable: true,
  60.          emittedReadable: false,
  61.          readableListening: false,
  62.          resumeScheduled: false,
  63.          defaultEncoding: 'utf8',
  64.          ranOut: false,
  65.          awaitDrain: 0,
  66.          readingMore: false,
  67.          decoder: null,
  68.          encoding: null },
  69.       readable: true,
  70.       domain: null,
  71.       _events:
  72.        { end: [Object],
  73.          finish: [Function: onSocketFinish],
  74.          _socketEnd: [Function: onSocketEnd],
  75.          drain: [Object],
  76.          timeout: [Function],
  77.          error: [Function: socketOnError],
  78.          close: [Object],
  79.          data: [Function: socketOnData],
  80.          resume: [Function: onSocketResume],
  81.          pause: [Function: onSocketPause] },
  82.       _eventsCount: 10,
  83.       _maxListeners: undefined,
  84.       _writableState:
  85.        WritableState {
  86.          objectMode: false,
  87.          highWaterMark: 16384,
  88.          needDrain: false,
  89.          ending: false,
  90.          ended: false,
  91.          finished: false,
  92.          decodeStrings: false,
  93.          defaultEncoding: 'utf8',
  94.          length: 0,
  95.          writing: false,
  96.          corked: 0,
  97.          sync: false,
  98.          bufferProcessing: false,
  99.          onwrite: [Function],
  100.          writecb: null,
  101.          writelen: 0,
  102.          bufferedRequest: null,
  103.          lastBufferedRequest: null,
  104.          pendingcb: 0,
  105.          prefinished: false,
  106.          errorEmitted: false,
  107.          bufferedRequestCount: 0,
  108.          corkedRequestsFree: [Object] },
  109.       writable: true,
  110.       allowHalfOpen: true,
  111.       destroyed: false,
  112.       _bytesDispatched: 1206,
  113.       _sockname: null,
  114.       _pendingData: null,
  115.       _pendingEncoding: '',
  116.       server:
  117.        Server {
  118.          domain: null,
  119.          _events: [Object],
  120.          _eventsCount: 2,
  121.          _maxListeners: undefined,
  122.          _connections: 1,
  123.          _handle: [Object],
  124.          _usingSlaves: false,
  125.          _slaves: [],
  126.          _unref: false,
  127.          allowHalfOpen: true,
  128.          pauseOnConnect: false,
  129.          httpAllowHalfOpen: false,
  130.          timeout: 120000,
  131.          _pendingResponseData: 0,
  132.          _connectionKey: '6::::8080' },
  133.       _server:
  134.        Server {
  135.          domain: null,
  136.          _events: [Object],
  137.          _eventsCount: 2,
  138.          _maxListeners: undefined,
  139.          _connections: 1,
  140.          _handle: [Object],
  141.          _usingSlaves: false,
  142.          _slaves: [],
  143.          _unref: false,
  144.          allowHalfOpen: true,
  145.          pauseOnConnect: false,
  146.          httpAllowHalfOpen: false,
  147.          timeout: 120000,
  148.          _pendingResponseData: 0,
  149.          _connectionKey: '6::::8080' },
  150.       _idleTimeout: 120000,
  151.       _idleNext:
  152.        TimersList {
  153.          _idleNext: [Circular],
  154.          _idlePrev: [Circular],
  155.          _timer: [Object],
  156.          _unrefed: true,
  157.          msecs: 120000 },
  158.       _idlePrev:
  159.        TimersList {
  160.          _idleNext: [Circular],
  161.          _idlePrev: [Circular],
  162.          _timer: [Object],
  163.          _unrefed: true,
  164.          msecs: 120000 },
  165.       _idleStart: 416108,
  166.       parser:
  167.        HTTPParser {
  168.          '0': [Function: parserOnHeaders],
  169.          '1': [Function: parserOnHeadersComplete],
  170.          '2': [Function: parserOnBody],
  171.          '3': [Function: parserOnMessageComplete],
  172.          '4': [Function: onParserExecute],
  173.          _headers: [],
  174.          _url: '',
  175.          _consumed: true,
  176.          socket: [Circular],
  177.          incoming: [Circular],
  178.          outgoing: null,
  179.          maxHeaderPairs: 2000,
  180.          onIncoming: [Function: parserOnIncoming] },
  181.       on: [Function: socketOnWrap],
  182.       _paused: false,
  183.       read: [Function],
  184.       _consuming: true,
  185.       _httpMessage:
  186.        ServerResponse {
  187.          domain: null,
  188.          _events: [Object],
  189.          _eventsCount: 1,
  190.          _maxListeners: undefined,
  191.          output: [],
  192.          outputEncodings: [],
  193.          outputCallbacks: [],
  194.          outputSize: 0,
  195.          writable: true,
  196.          _last: false,
  197.          chunkedEncoding: false,
  198.          shouldKeepAlive: true,
  199.          useChunkedEncodingByDefault: true,
  200.          sendDate: true,
  201.          _removedHeader: {},
  202.          _contentLength: null,
  203.          _hasBody: true,
  204.          _trailer: '',
  205.          finished: false,
  206.          _headerSent: false,
  207.          socket: [Circular],
  208.          connection: [Circular],
  209.          _header: null,
  210.          _headers: [Object],
  211.          _headerNames: [Object],
  212.          _onPendingData: [Function: updateOutgoingData],
  213.          req: [Circular],
  214.          locals: {},
  215.          writeHead: [Function: writeHead],
  216.          end: [Function: end] } },
  217.    connection:
  218.     Socket {
  219.       connecting: false,
  220.       _hadError: false,
  221.       _handle:
  222.        TCP {
  223.          bytesRead: 1724,
  224.          _externalStream: {},
  225.          fd: 11,
  226.          reading: true,
  227.          owner: [Circular],
  228.          onread: [Function: onread],
  229.          onconnection: null,
  230.          writeQueueSize: 0 },
  231.       _parent: null,
  232.       _host: null,
  233.       _readableState:
  234.        ReadableState {
  235.          objectMode: false,
  236.          highWaterMark: 16384,
  237.          buffer: [],
  238.          length: 0,
  239.          pipes: null,
  240.          pipesCount: 0,
  241.          flowing: true,
  242.          ended: false,
  243.          endEmitted: false,
  244.          reading: true,
  245.          sync: false,
  246.          needReadable: true,
  247.          emittedReadable: false,
  248.          readableListening: false,
  249.          resumeScheduled: false,
  250.          defaultEncoding: 'utf8',
  251.          ranOut: false,
  252.          awaitDrain: 0,
  253.          readingMore: false,
  254.          decoder: null,
  255.          encoding: null },
  256.       readable: true,
  257.       domain: null,
  258.       _events:
  259.        { end: [Object],
  260.          finish: [Function: onSocketFinish],
  261.          _socketEnd: [Function: onSocketEnd],
  262.          drain: [Object],
  263.          timeout: [Function],
  264.          error: [Function: socketOnError],
  265.          close: [Object],
  266.          data: [Function: socketOnData],
  267.          resume: [Function: onSocketResume],
  268.          pause: [Function: onSocketPause] },
  269.       _eventsCount: 10,
  270.       _maxListeners: undefined,
  271.       _writableState:
  272.        WritableState {
  273.          objectMode: false,
  274.          highWaterMark: 16384,
  275.          needDrain: false,
  276.          ending: false,
  277.          ended: false,
  278.          finished: false,
  279.          decodeStrings: false,
  280.          defaultEncoding: 'utf8',
  281.          length: 0,
  282.          writing: false,
  283.          corked: 0,
  284.          sync: false,
  285.          bufferProcessing: false,
  286.          onwrite: [Function],
  287.          writecb: null,
  288.          writelen: 0,
  289.          bufferedRequest: null,
  290.          lastBufferedRequest: null,
  291.          pendingcb: 0,
  292.          prefinished: false,
  293.          errorEmitted: false,
  294.          bufferedRequestCount: 0,
  295.          corkedRequestsFree: [Object] },
  296.       writable: true,
  297.       allowHalfOpen: true,
  298.       destroyed: false,
  299.       _bytesDispatched: 1206,
  300.       _sockname: null,
  301.       _pendingData: null,
  302.       _pendingEncoding: '',
  303.       server:
  304.        Server {
  305.          domain: null,
  306.          _events: [Object],
  307.          _eventsCount: 2,
  308.          _maxListeners: undefined,
  309.          _connections: 1,
  310.          _handle: [Object],
  311.          _usingSlaves: false,
  312.          _slaves: [],
  313.          _unref: false,
  314.          allowHalfOpen: true,
  315.          pauseOnConnect: false,
  316.          httpAllowHalfOpen: false,
  317.          timeout: 120000,
  318.          _pendingResponseData: 0,
  319.          _connectionKey: '6::::8080' },
  320.       _server:
  321.        Server {
  322.          domain: null,
  323.          _events: [Object],
  324.          _eventsCount: 2,
  325.          _maxListeners: undefined,
  326.          _connections: 1,
  327.          _handle: [Object],
  328.          _usingSlaves: false,
  329.          _slaves: [],
  330.          _unref: false,
  331.          allowHalfOpen: true,
  332.          pauseOnConnect: false,
  333.          httpAllowHalfOpen: false,
  334.          timeout: 120000,
  335.          _pendingResponseData: 0,
  336.          _connectionKey: '6::::8080' },
  337.       _idleTimeout: 120000,
  338.       _idleNext:
  339.        TimersList {
  340.          _idleNext: [Circular],
  341.          _idlePrev: [Circular],
  342.          _timer: [Object],
  343.          _unrefed: true,
  344.          msecs: 120000 },
  345.       _idlePrev:
  346.        TimersList {
  347.          _idleNext: [Circular],
  348.          _idlePrev: [Circular],
  349.          _timer: [Object],
  350.          _unrefed: true,
  351.          msecs: 120000 },
  352.       _idleStart: 416108,
  353.       parser:
  354.        HTTPParser {
  355.          '0': [Function: parserOnHeaders],
  356.          '1': [Function: parserOnHeadersComplete],
  357.          '2': [Function: parserOnBody],
  358.          '3': [Function: parserOnMessageComplete],
  359.          '4': [Function: onParserExecute],
  360.          _headers: [],
  361.          _url: '',
  362.          _consumed: true,
  363.          socket: [Circular],
  364.          incoming: [Circular],
  365.          outgoing: null,
  366.          maxHeaderPairs: 2000,
  367.          onIncoming: [Function: parserOnIncoming] },
  368.       on: [Function: socketOnWrap],
  369.       _paused: false,
  370.       read: [Function],
  371.       _consuming: true,
  372.       _httpMessage:
  373.        ServerResponse {
  374.          domain: null,
  375.          _events: [Object],
  376.          _eventsCount: 1,
  377.          _maxListeners: undefined,
  378.          output: [],
  379.          outputEncodings: [],
  380.          outputCallbacks: [],
  381.          outputSize: 0,
  382.          writable: true,
  383.          _last: false,
  384.          chunkedEncoding: false,
  385.          shouldKeepAlive: true,
  386.          useChunkedEncodingByDefault: true,
  387.          sendDate: true,
  388.          _removedHeader: {},
  389.          _contentLength: null,
  390.          _hasBody: true,
  391.          _trailer: '',
  392.          finished: false,
  393.          _headerSent: false,
  394.          socket: [Circular],
  395.          connection: [Circular],
  396.          _header: null,
  397.          _headers: [Object],
  398.          _headerNames: [Object],
  399.          _onPendingData: [Function: updateOutgoingData],
  400.          req: [Circular],
  401.          locals: {},
  402.          writeHead: [Function: writeHead],
  403.          end: [Function: end] } },
  404.    httpVersionMajor: 1,
  405.    httpVersionMinor: 1,
  406.    httpVersion: '1.1',
  407.    complete: true,
  408.    headers:
  409.     { 'content-type': 'multipart/form-data; boundary=8dc7eb9f-15a9-4c35-af1a-6b3d02007a94',
  410.       'content-length': '709',
  411.       host: '192.168.43.203:8888',
  412.       connection: 'Keep-Alive',
  413.       'accept-encoding': 'gzip',
  414.       cookie: 'connect.sid=s%3A3RHFteeIBx7xNveR4WU6NqIKGwuImTwp.GG0Hu%2BcAIhXnRS5D259D1J1KyQZa4K4RMgeTHDBCzM0',
  415.       'user-agent': 'okhttp/3.4.1' },
  416.    rawHeaders:
  417.     [ 'Content-Type',
  418.       'multipart/form-data; boundary=8dc7eb9f-15a9-4c35-af1a-6b3d02007a94',
  419.       'Content-Length',
  420.       '709',
  421.       'Host',
  422.       '192.168.43.203:8888',
  423.       'Connection',
  424.       'Keep-Alive',
  425.       'Accept-Encoding',
  426.       'gzip',
  427.       'Cookie',
  428.       'connect.sid=s%3A3RHFteeIBx7xNveR4WU6NqIKGwuImTwp.GG0Hu%2BcAIhXnRS5D259D1J1KyQZa4K4RMgeTHDBCzM0',
  429.       'User-Agent',
  430.       'okhttp/3.4.1' ],
  431.    trailers: {},
  432.    rawTrailers: [],
  433.    upgrade: false,
  434.    url: '/media/img/',
  435.    method: 'PUT',
  436.    statusCode: null,
  437.    statusMessage: null,
  438.    client:
  439.     Socket {
  440.       connecting: false,
  441.       _hadError: false,
  442.       _handle:
  443.        TCP {
  444.          bytesRead: 1724,
  445.          _externalStream: {},
  446.          fd: 11,
  447.          reading: true,
  448.          owner: [Circular],
  449.          onread: [Function: onread],
  450.          onconnection: null,
  451.          writeQueueSize: 0 },
  452.       _parent: null,
  453.       _host: null,
  454.       _readableState:
  455.        ReadableState {
  456.          objectMode: false,
  457.          highWaterMark: 16384,
  458.          buffer: [],
  459.          length: 0,
  460.          pipes: null,
  461.          pipesCount: 0,
  462.          flowing: true,
  463.          ended: false,
  464.          endEmitted: false,
  465.          reading: true,
  466.          sync: false,
  467.          needReadable: true,
  468.          emittedReadable: false,
  469.          readableListening: false,
  470.          resumeScheduled: false,
  471.          defaultEncoding: 'utf8',
  472.          ranOut: false,
  473.          awaitDrain: 0,
  474.          readingMore: false,
  475.          decoder: null,
  476.          encoding: null },
  477.       readable: true,
  478.       domain: null,
  479.       _events:
  480.        { end: [Object],
  481.          finish: [Function: onSocketFinish],
  482.          _socketEnd: [Function: onSocketEnd],
  483.          drain: [Object],
  484.          timeout: [Function],
  485.          error: [Function: socketOnError],
  486.          close: [Object],
  487.          data: [Function: socketOnData],
  488.          resume: [Function: onSocketResume],
  489.          pause: [Function: onSocketPause] },
  490.       _eventsCount: 10,
  491.       _maxListeners: undefined,
  492.       _writableState:
  493.        WritableState {
  494.          objectMode: false,
  495.          highWaterMark: 16384,
  496.          needDrain: false,
  497.          ending: false,
  498.          ended: false,
  499.          finished: false,
  500.          decodeStrings: false,
  501.          defaultEncoding: 'utf8',
  502.          length: 0,
  503.          writing: false,
  504.          corked: 0,
  505.          sync: false,
  506.          bufferProcessing: false,
  507.          onwrite: [Function],
  508.          writecb: null,
  509.          writelen: 0,
  510.          bufferedRequest: null,
  511.          lastBufferedRequest: null,
  512.          pendingcb: 0,
  513.          prefinished: false,
  514.          errorEmitted: false,
  515.          bufferedRequestCount: 0,
  516.          corkedRequestsFree: [Object] },
  517.       writable: true,
  518.       allowHalfOpen: true,
  519.       destroyed: false,
  520.       _bytesDispatched: 1206,
  521.       _sockname: null,
  522.       _pendingData: null,
  523.       _pendingEncoding: '',
  524.       server:
  525.        Server {
  526.          domain: null,
  527.          _events: [Object],
  528.          _eventsCount: 2,
  529.          _maxListeners: undefined,
  530.          _connections: 1,
  531.          _handle: [Object],
  532.          _usingSlaves: false,
  533.          _slaves: [],
  534.          _unref: false,
  535.          allowHalfOpen: true,
  536.          pauseOnConnect: false,
  537.          httpAllowHalfOpen: false,
  538.          timeout: 120000,
  539.          _pendingResponseData: 0,
  540.          _connectionKey: '6::::8080' },
  541.       _server:
  542.        Server {
  543.          domain: null,
  544.          _events: [Object],
  545.          _eventsCount: 2,
  546.          _maxListeners: undefined,
  547.          _connections: 1,
  548.          _handle: [Object],
  549.          _usingSlaves: false,
  550.          _slaves: [],
  551.          _unref: false,
  552.          allowHalfOpen: true,
  553.          pauseOnConnect: false,
  554.          httpAllowHalfOpen: false,
  555.          timeout: 120000,
  556.          _pendingResponseData: 0,
  557.          _connectionKey: '6::::8080' },
  558.       _idleTimeout: 120000,
  559.       _idleNext:
  560.        TimersList {
  561.          _idleNext: [Circular],
  562.          _idlePrev: [Circular],
  563.          _timer: [Object],
  564.          _unrefed: true,
  565.          msecs: 120000 },
  566.       _idlePrev:
  567.        TimersList {
  568.          _idleNext: [Circular],
  569.          _idlePrev: [Circular],
  570.          _timer: [Object],
  571.          _unrefed: true,
  572.          msecs: 120000 },
  573.       _idleStart: 416108,
  574.       parser:
  575.        HTTPParser {
  576.          '0': [Function: parserOnHeaders],
  577.          '1': [Function: parserOnHeadersComplete],
  578.          '2': [Function: parserOnBody],
  579.          '3': [Function: parserOnMessageComplete],
  580.          '4': [Function: onParserExecute],
  581.          _headers: [],
  582.          _url: '',
  583.          _consumed: true,
  584.          socket: [Circular],
  585.          incoming: [Circular],
  586.          outgoing: null,
  587.          maxHeaderPairs: 2000,
  588.          onIncoming: [Function: parserOnIncoming] },
  589.       on: [Function: socketOnWrap],
  590.       _paused: false,
  591.       read: [Function],
  592.       _consuming: true,
  593.       _httpMessage:
  594.        ServerResponse {
  595.          domain: null,
  596.          _events: [Object],
  597.          _eventsCount: 1,
  598.          _maxListeners: undefined,
  599.          output: [],
  600.          outputEncodings: [],
  601.          outputCallbacks: [],
  602.          outputSize: 0,
  603.          writable: true,
  604.          _last: false,
  605.          chunkedEncoding: false,
  606.          shouldKeepAlive: true,
  607.          useChunkedEncodingByDefault: true,
  608.          sendDate: true,
  609.          _removedHeader: {},
  610.          _contentLength: null,
  611.          _hasBody: true,
  612.          _trailer: '',
  613.          finished: false,
  614.          _headerSent: false,
  615.          socket: [Circular],
  616.          connection: [Circular],
  617.          _header: null,
  618.          _headers: [Object],
  619.          _headerNames: [Object],
  620.          _onPendingData: [Function: updateOutgoingData],
  621.          req: [Circular],
  622.          locals: {},
  623.          writeHead: [Function: writeHead],
  624.          end: [Function: end] } },
  625.    _consuming: true,
  626.    _dumped: false,
  627.    next: [Function: next],
  628.    baseUrl: '',
  629.    originalUrl: '/media/img/',
  630.    _parsedUrl:
  631.     Url {
  632.       protocol: null,
  633.       slashes: null,
  634.       auth: null,
  635.       host: null,
  636.       port: null,
  637.       hostname: null,
  638.       hash: null,
  639.       search: null,
  640.       query: null,
  641.       pathname: '/media/img/',
  642.       path: '/media/img/',
  643.       href: '/media/img/',
  644.       _raw: '/media/img/' },
  645.    params: {},
  646.    query: {},
  647.    res:
  648.     ServerResponse {
  649.       domain: null,
  650.       _events: { finish: [Function: resOnFinish] },
  651.       _eventsCount: 1,
  652.       _maxListeners: undefined,
  653.       output: [],
  654.       outputEncodings: [],
  655.       outputCallbacks: [],
  656.       outputSize: 0,
  657.       writable: true,
  658.       _last: false,
  659.       chunkedEncoding: false,
  660.       shouldKeepAlive: true,
  661.       useChunkedEncodingByDefault: true,
  662.       sendDate: true,
  663.       _removedHeader: {},
  664.       _contentLength: null,
  665.       _hasBody: true,
  666.       _trailer: '',
  667.       finished: false,
  668.       _headerSent: false,
  669.       socket:
  670.        Socket {
  671.          connecting: false,
  672.          _hadError: false,
  673.          _handle: [Object],
  674.          _parent: null,
  675.          _host: null,
  676.          _readableState: [Object],
  677.          readable: true,
  678.          domain: null,
  679.          _events: [Object],
  680.          _eventsCount: 10,
  681.          _maxListeners: undefined,
  682.          _writableState: [Object],
  683.          writable: true,
  684.          allowHalfOpen: true,
  685.          destroyed: false,
  686.          _bytesDispatched: 1206,
  687.          _sockname: null,
  688.          _pendingData: null,
  689.          _pendingEncoding: '',
  690.          server: [Object],
  691.          _server: [Object],
  692.          _idleTimeout: 120000,
  693.          _idleNext: [Object],
  694.          _idlePrev: [Object],
  695.          _idleStart: 416108,
  696.          parser: [Object],
  697.          on: [Function: socketOnWrap],
  698.          _paused: false,
  699.          read: [Function],
  700.          _consuming: true,
  701.          _httpMessage: [Circular] },
  702.       connection:
  703.        Socket {
  704.          connecting: false,
  705.          _hadError: false,
  706.          _handle: [Object],
  707.          _parent: null,
  708.          _host: null,
  709.          _readableState: [Object],
  710.          readable: true,
  711.          domain: null,
  712.          _events: [Object],
  713.          _eventsCount: 10,
  714.          _maxListeners: undefined,
  715.          _writableState: [Object],
  716.          writable: true,
  717.          allowHalfOpen: true,
  718.          destroyed: false,
  719.          _bytesDispatched: 1206,
  720.          _sockname: null,
  721.          _pendingData: null,
  722.          _pendingEncoding: '',
  723.          server: [Object],
  724.          _server: [Object],
  725.          _idleTimeout: 120000,
  726.          _idleNext: [Object],
  727.          _idlePrev: [Object],
  728.          _idleStart: 416108,
  729.          parser: [Object],
  730.          on: [Function: socketOnWrap],
  731.          _paused: false,
  732.          read: [Function],
  733.          _consuming: true,
  734.          _httpMessage: [Circular] },
  735.       _header: null,
  736.       _headers: { 'x-powered-by': 'Express' },
  737.       _headerNames: { 'x-powered-by': 'X-Powered-By' },
  738.       _onPendingData: [Function: updateOutgoingData],
  739.       req: [Circular],
  740.       locals: {},
  741.       writeHead: [Function: writeHead],
  742.       end: [Function: end] },
  743.    _parsedOriginalUrl:
  744.     Url {
  745.       protocol: null,
  746.       slashes: null,
  747.       auth: null,
  748.       host: null,
  749.       port: null,
  750.       hostname: null,
  751.       hash: null,
  752.       search: null,
  753.       query: null,
  754.       pathname: '/media/img/',
  755.       path: '/media/img/',
  756.       href: '/media/img/',
  757.       _raw: '/media/img/' },
  758.    sessionStore:
  759.     MemoryStore {
  760.       domain: null,
  761.       _events:
  762.        { disconnect: [Function: ondisconnect],
  763.          connect: [Function: onconnect] },
  764.       _eventsCount: 2,
  765.       _maxListeners: undefined,
  766.       sessions: { '3RHFteeIBx7xNveR4WU6NqIKGwuImTwp': '{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"},"user":1}' },
  767.       generate: [Function] },
  768.    sessionID: '3RHFteeIBx7xNveR4WU6NqIKGwuImTwp',
  769.    read: [Function],
  770.    session:
  771.     Session {
  772.       cookie:
  773.        { path: '/',
  774.          _expires: null,
  775.          originalMaxAge: null,
  776.          httpOnly: true },
  777.       user: 1 },
  778.    body:
  779.     { upload: '/storage/emulated/0/Pictures/Screenshots/Screenshot_20170106-161518.png',
  780.       usertype: 'Barber',
  781.       name: 'profilePic',
  782.       description: 'Holla',
  783.       type: 'test:barber:haircut' },
  784.    route:
  785.     Route {
  786.       path: '/media/img/',
  787.       stack: [ [Object], [Object], [Object], [Object] ],
  788.       methods: { put: true } },
  789.    user:
  790.     { dataValues:
  791.        { userID: 1,
  792.          firstName: 'TestFN1',
  793.          lastName: 'TestLN1',
  794.          phoneNumber: null,
  795.          email: 'media_abc@def.com',
  796.          password: '7eb7fb25ee7c9a6af4e7a4ffc0e611760f503c463a8ab21b5cd6d63fa6dc7ed3',
  797.          facebookID: null,
  798.          googleID: null,
  799.          salt: '8257a55af4e8ac3e8fc797bb3c5e047000cb157f60a2f2cbb5f4bf38b8fc7749',
  800.          phoneVerified: false,
  801.          phoneCode: null,
  802.          phoneCodeValidUntil: null,
  803.          lastLogin: 2017-01-12T00:43:22.000Z,
  804.          gender: 'male',
  805.          firstSetup: true,
  806.          admin: false,
  807.          createdAt: 2017-01-12T00:22:26.000Z,
  808.          updatedAt: 2017-01-12T00:43:22.000Z },
  809.       _previousDataValues:
  810.        { userID: 1,
  811.          firstName: 'TestFN1',
  812.          lastName: 'TestLN1',
  813.          phoneNumber: null,
  814.          email: 'media_abc@def.com',
  815.          password: '7eb7fb25ee7c9a6af4e7a4ffc0e611760f503c463a8ab21b5cd6d63fa6dc7ed3',
  816.          facebookID: null,
  817.          googleID: null,
  818.          salt: '8257a55af4e8ac3e8fc797bb3c5e047000cb157f60a2f2cbb5f4bf38b8fc7749',
  819.          phoneVerified: false,
  820.          phoneCode: null,
  821.          phoneCodeValidUntil: null,
  822.          lastLogin: 2017-01-12T00:43:22.000Z,
  823.          gender: 'male',
  824.          firstSetup: true,
  825.          admin: false,
  826.          createdAt: 2017-01-12T00:22:26.000Z,
  827.          updatedAt: 2017-01-12T00:43:22.000Z },
  828.       _changed: {},
  829.       '$modelOptions':
  830.        { timestamps: true,
  831.          instanceMethods: {},
  832.          classMethods: [Object],
  833.          validate: {},
  834.          freezeTableName: false,
  835.          underscored: false,
  836.          underscoredAll: false,
  837.          paranoid: false,
  838.          rejectOnEmpty: false,
  839.          whereCollection: [Object],
  840.          schema: null,
  841.          schemaDelimiter: '',
  842.          defaultScope: {},
  843.          scopes: [],
  844.          hooks: {},
  845.          indexes: [],
  846.          name: [Object],
  847.          omitNul: false,
  848.          sequelize: [Object],
  849.          uniqueKeys: {},
  850.          hasPrimaryKeys: true },
  851.       '$options':
  852.        { isNewRecord: false,
  853.          '$schema': null,
  854.          '$schemaDelimiter': '',
  855.          raw: true,
  856.          attributes: [Object] },
  857.       hasPrimaryKeys: true,
  858.       __eagerlyLoadedAssociations: [],
  859.       isNewRecord: false } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement