Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Response: { status: 200,
- statusText: 'OK',
- headers:
- { server: 'openresty/1.15.8.2',
- date: 'Mon, 21 Oct 2019 16:11:42 GMT',
- 'content-type': 'text/html; charset=utf-8',
- 'transfer-encoding': 'chunked',
- connection: 'close',
- vary: 'Cookie',
- 'x-frame-options': 'SAMEORIGIN',
- 'set-cookie':
- [ 'csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm; expires=Mon, 19-Oct-2020 16:11:42 GMT; Max-Age=31449600; Path=/',
- 'sessionid=""; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/' ] },
- config:
- { adapter: [Function: httpAdapter],
- transformRequest: { '0': [Function: transformRequest] },
- transformResponse: { '0': [Function: transformResponse] },
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'X-CSRFToken': 'TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm',
- Cookie:
- 'sessionid=undefined; csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm',
- 'User-Agent': 'axios/0.18.0' },
- method: 'get',
- url:
- 'https://staging.mysunbuddy.com:8000/utility_api_callback?referral=146206',
- data: undefined },
- request:
- ClientRequest {
- domain: null,
- _events:
- [Object: null prototype] {
- socket: [Function],
- abort: [Function],
- aborted: [Function],
- error: [Function],
- timeout: [Function],
- prefinish: [Function: requestOnPrefinish] },
- _eventsCount: 6,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle: [TLSWrap],
- _parent: null,
- _host: 'staging.mysunbuddy.com',
- _readableState: [ReadableState],
- readable: true,
- domain: null,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: [TLSWrap],
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 231793,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]: [Object] },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: false,
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle: [TLSWrap],
- _parent: null,
- _host: 'staging.mysunbuddy.com',
- _readableState: [ReadableState],
- readable: true,
- domain: null,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: [TLSWrap],
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 231793,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]: [Object] },
- _header:
- 'GET /accounts/login/?next=/utility_api_callback%3Freferral%3D146206 HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nX-CSRFToken: TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm\r\nCookie: sessionid=undefined; csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm\r\nUser-Agent: axios/0.18.0\r\nHost: staging.mysunbuddy.com:8000\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- 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:
- '/accounts/login/?next=/utility_api_callback%3Freferral%3D146206',
- _ended: true,
- res:
- IncomingMessage {
- _readableState: [ReadableState],
- readable: false,
- domain: null,
- _events: [Object],
- _eventsCount: 3,
- _maxListeners: undefined,
- socket: [TLSSocket],
- connection: [TLSSocket],
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers: [Object],
- rawHeaders: [Array],
- trailers: {},
- rawTrailers: [],
- aborted: false,
- upgrade: false,
- url: '',
- method: null,
- statusCode: 200,
- statusMessage: 'OK',
- client: [TLSSocket],
- _consuming: false,
- _dumped: false,
- req: [Circular],
- responseUrl:
- 'https://staging.mysunbuddy.com:8000/accounts/login/?next=/utility_api_callback%3Freferral%3D146206',
- redirects: [] },
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable:
- Writable {
- _writableState: [WritableState],
- writable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _options: [Object],
- "id_login" name="login" placeholder="E-mail address" type="email" /></p>\n<p><label for="id_password">Password:</label> <input id="id_password" name="password" placeholder="Password" type="password" /></p>\n<p><label for="id_remember">Remember Me:</label> <input id="id_remember" name="remember" type="checkbox" /></p>\n \n <input type="hidden" name="next" value="/utility_api_callback?referral=146206" />\n \n <a class="button secondaryAction" href="/accounts/password/reset/">Forgot Password?</a>\n <button class="primaryAction" type="submit">Sign In</button>\n</form>\n\n\n </div>\n\n <script src="/static/js/admin.js"></script>\n\n <footer>\n <p>©2018 MySunBuddy, Inc.</p>\n </footer>\n\n</body>\n</html>\n' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement