Skip to content

Instantly share code, notes, and snippets.

@barbalex
Last active February 25, 2016 16:36
Show Gist options
  • Save barbalex/3bdbcfc1c3e33ae26ece to your computer and use it in GitHub Desktop.
Save barbalex/3bdbcfc1c3e33ae26ece to your computer and use it in GitHub Desktop.
{
domain: null,
_events: {},
_eventsCount: 0,
_maxListeners: undefined,
res:
IncomingMessage {
_readableState:
ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
sync: true,
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: [Object], error: [Object], close: [Function: bound emit] },
_eventsCount: 3,
_maxListeners: undefined,
socket:
Socket {
_connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: null,
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
bytesRead: 266,
_bytesDispatched: 183,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
parser: null,
_httpMessage: [Object],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
connection:
Socket {
_connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: null,
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
bytesRead: 266,
_bytesDispatched: 183,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
parser: null,
_httpMessage: [Object],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ vary: 'origin,accept-encoding',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-encoding': 'gzip',
date: 'Thu, 25 Feb 2016 16:32:06 GMT',
connection: 'close',
'transfer-encoding': 'chunked' },
rawHeaders:
[ 'vary',
'origin,accept-encoding',
'content-type',
'application/json; charset=utf-8',
'cache-control',
'no-cache',
'content-encoding',
'gzip',
'Date',
'Thu, 25 Feb 2016 16:32:06 GMT',
'Connection',
'close',
'Transfer-Encoding',
'chunked' ],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 200,
statusMessage: 'OK',
client:
Socket {
_connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: null,
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
bytesRead: 266,
_bytesDispatched: 183,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
parser: null,
_httpMessage: [Object],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
_consuming: true,
_dumped: false,
req:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'DELETE /apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150 HTTP/1.1\r\nHost: 127.0.0.1:4001\r\nAccept-Encoding: gzip, deflate\r\nuser-agent: node-superagent/1.7.2\r\nConnection: close\r\n\r
\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
method: 'DELETE',
path: '/apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150',
parser: null,
res: [Circular] },
setEncoding: [Function],
on: [Function],
text: '[]',
read: [Function],
body: [] },
request:
Test {
domain: null,
_events: { end: [Function: bound ] },
_eventsCount: 1,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'delete',
url: 'http://127.0.0.1:4001/apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150',
header: { 'user-agent': 'node-superagent/1.7.2' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'http://127.0.0.1:4001',
_asserts: [],
req:
ClientRequest {
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'DELETE /apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150 HTTP/1.1\r\nHost: 127.0.0.1:4001\r\nAccept-Encoding: gzip, deflate\r\nuser-agent: node-superagent/1.7.2\r\nConnection: close\r\n\r
\n',
_headers: [Object],
_headerNames: [Object],
_onPendingData: null,
agent: [Object],
socketPath: undefined,
method: 'DELETE',
path: '/apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150',
parser: null,
res: [Object] },
protocol: 'http:',
host: '127.0.0.1:4001',
_callback: [Function],
res:
IncomingMessage {
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 200,
statusMessage: 'OK',
client: [Object],
_consuming: true,
_dumped: false,
req: [Object],
setEncoding: [Function],
on: [Function],
text: '[]',
read: [Function],
body: [] },
response: [Circular],
_timeout: 0,
called: true },
req:
ClientRequest {
domain: null,
_events: { drain: [Function], error: [Function], response: [Function] },
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedHeader: {},
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
Socket {
_connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: null,
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
bytesRead: 266,
_bytesDispatched: 183,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
parser: null,
_httpMessage: [Circular],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
connection:
Socket {
_connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: null,
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 8,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
destroyed: true,
bytesRead: 266,
_bytesDispatched: 183,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
parser: null,
_httpMessage: [Circular],
read: [Function],
_consuming: true,
_idleNext: null,
_idlePrev: null,
_idleTimeout: -1 },
_header: 'DELETE /apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150 HTTP/1.1\r\nHost: 127.0.0.1:4001\r\nAccept-Encoding: gzip, deflate\r\nuser-agent: node-superagent/1.7.2\r\nConnection: close\r\n\r\n'
,
_headers:
{ host: '127.0.0.1:4001',
'accept-encoding': 'gzip, deflate',
'user-agent': 'node-superagent/1.7.2' },
_headerNames:
{ host: 'Host',
'accept-encoding': 'Accept-Encoding',
'user-agent': 'user-agent' },
_onPendingData: null,
agent:
Agent {
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: {},
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
method: 'DELETE',
path: '/apflora/tabelle=ap/tabelleIdFeld=ApArtId/tabelleId=150',
parser: null,
res:
IncomingMessage {
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 200,
statusMessage: 'OK',
client: [Object],
_consuming: true,
_dumped: false,
req: [Circular],
setEncoding: [Function],
on: [Function],
text: '[]',
read: [Function],
body: [] } },
links: {},
text: '[]',
body: [],
files: {},
buffered: true,
headers:
{ vary: 'origin,accept-encoding',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-encoding': 'gzip',
date: 'Thu, 25 Feb 2016 16:32:06 GMT',
connection: 'close',
'transfer-encoding': 'chunked' },
header:
{ vary: 'origin,accept-encoding',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-encoding': 'gzip',
date: 'Thu, 25 Feb 2016 16:32:06 GMT',
connection: 'close',
'transfer-encoding': 'chunked' },
statusCode: 200,
status: 200,
statusType: 2,
info: false,
ok: true,
redirect: false,
clientError: false,
serverError: false,
error: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: false,
charset: 'utf-8',
type: 'application/json',
setEncoding: [Function: bound ],
redirects: [] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment