Skip to content

Instantly share code, notes, and snippets.

@chmanie
Created February 9, 2014 10:59
Show Gist options
  • Save chmanie/8897570 to your computer and use it in GitHub Desktop.
Save chmanie/8897570 to your computer and use it in GitHub Desktop.
hapi issue #1395
{ domain: null,
_events: {},
_maxListeners: 10,
statusCode: 302,
headers: { 'content-type': 'text/html' },
variety: 'plain',
app: {},
plugins: {},
settings:
{ encoding: 'utf8',
charset: 'utf-8',
location: '/login',
ttl: null,
stringify: null,
passThrough: true },
_request:
{ domain: null,
_events: {},
_maxListeners: 10,
_bench: { ts: 44275846.647276 },
server:
{ domain: null,
_events: [Object],
_maxListeners: 10,
settings: [Object],
_unixDomainSocket: false,
_windowsNamedPipe: false,
_host: 'localhost',
_port: 9000,
_onConnection: [Function],
_started: true,
auth: [Object],
_router: [Object],
_etags: [Object],
_eventLoopTimer: null,
_loadBench: [Object],
load: [Object],
_ext: [Object],
_stateDefinitions: [Object],
_dtrace: [Object],
pack: [Object],
plugins: [Object],
app: {},
helpers: [Object],
listener: [Object],
info: [Object],
_connections: [Object] },
hapi:
{ Boom: [Object],
boom: [Object],
Error: [Object],
error: [Object],
Server: [Object],
utils: [Object],
types: [Object],
Pack: [Function],
Composer: [Function],
state: [Object],
createServer: [Function] },
url:
{ protocol: null,
slashes: null,
auth: null,
host: null,
port: null,
hostname: null,
hash: null,
search: null,
query: {},
pathname: '/info',
path: '/info',
href: '/info' },
query: {},
path: '/info',
method: 'get',
mime: null,
setUrl: undefined,
setMethod: undefined,
_pathSegments: [ '', 'info' ],
headers:
{ host: 'localhost:9000',
connection: 'keep-alive',
'cache-control': 'max-age=0',
accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36',
'accept-encoding': 'gzip,deflate,sdch',
'accept-language': 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4' },
id: '1391943492839-9297-861',
app: {},
plugins: {},
_route:
{ settings: [Object],
server: [Object],
env: {},
method: 'get',
_segments: [Object],
path: '/info',
fingerprint: '/info',
params: [],
prerequisites: null,
cycle: [Object] },
route:
{ auth: [Object],
handler: [Function],
method: 'get',
path: '/info',
plugins: {},
app: {},
validate: {} },
auth:
{ isAuthenticated: false,
credentials: null,
artifacts: null,
session: null },
session:
{ id: 'ea751227-cd2a-454e-ae2d-283c8496d7c2',
_store: {},
_isModified: true,
reset: [Function],
get: [Function],
set: [Function],
clear: [Function],
touch: [Function],
flash: [Function],
lazy: [Function],
_isLazy: true,
_isAuthenticated: [Function],
_logIn: [Function],
_login: [Function],
_logOut: [Function],
_logout: [Function] },
pre: {},
responses: {},
info:
{ received: 1391943492839,
remoteAddress: '127.0.0.1',
remotePort: 55946,
referrer: '',
host: 'localhost:9000' },
params: {},
payload: null,
state: {},
jsonp: null,
response: null,
raw: { req: [Object], res: [Object] },
addTail: [Function],
tail: [Function],
_states: {},
_logger: [ [Object] ],
_isReplied: false,
_tails: {},
_tailIds: 0,
_isWagging: false,
_paramsArray: [],
_onClose: [Function],
_onError: [Function],
_onAborted: [Function],
_passport: { instance: [Object], session: [Object] },
_pluginEnv: undefined },
_payload: null,
_takeover: false,
source: 'You are being redirected...',
hold: undefined,
temporary: [Function],
permanent: [Function],
rewritable: [Function] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment