Skip to content

Instantly share code, notes, and snippets.

@robb1e
Created September 15, 2010 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robb1e/581002 to your computer and use it in GitHub Desktop.
Save robb1e/581002 to your computer and use it in GitHub Desktop.
{ error: null
, ended: false
, maxFieldsSize: 2097152
, keepExtensions: true
, uploadDir: '/tmp'
, encoding: 'utf-8'
, headers:
{ host: 'localhost:3000'
, connection: 'keep-alive'
, referer: 'http://localhost:3000/'
, 'content-length': '13897'
, 'cache-control': 'max-age=0'
, origin: 'http://localhost:3000'
, 'content-type': 'multipart/form-data; boundary=----WebKitFormBoundarypJWN8kqTQDAs02A4'
, accept: 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
, 'user-agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.55 Safari/534.3'
, 'accept-encoding': 'gzip,deflate,sdch'
, 'accept-language': 'en-US,en;q=0.8'
, 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
}
, type: 'multipart'
, bytesReceived: 0
, bytesExpected: 13897
, _parser:
{ boundary: <Buffer 0d 0a 2d 2d 2d 2d 2d 2d 57 65 62 4b 69 74 46 6f 72 6d 42 6f 75 6e 64 61 72 79 70 4a 57 4e 38 6b 71 54 51 44 41 73 30 32 41 34>
, boundaryChars:
{ '10': true
, '13': true
, '45': true
, '48': true
, '50': true
, '52': true
, '56': true
, '65': true
, '66': true
, '68': true
, '70': true
, '74': true
, '75': true
, '78': true
, '81': true
, '84': true
, '87': true
, '97': true
, '98': true
, '100': true
, '101': true
, '105': true
, '107': true
, '109': true
, '110': true
, '111': true
, '112': true
, '113': true
, '114': true
, '115': true
, '116': true
, '117': true
, '121': true
}
, lookbehind: <Buffer 07 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 06 00 72 00 01 00 00 00 9e e8 70 00 01 00 04 00 00 00 00 00 00 00 00 00 01 20 00 00 00 00 00 00 00 b8>
, state: 1
, index: null
, flags: 0
, onPartBegin: [Function]
, onHeaderField: [Function]
, onHeaderValue: [Function]
, onHeaderEnd: [Function]
, onHeadersEnd: [Function]
, onPartData: [Function]
, onPartEnd: [Function]
, onEnd: [Function]
}
, _flushing: 0
, _fieldsSize: 0
, complete: [Function]
, pause: [Function]
, resume: [Function]
, _events:
{ field: [Function]
, file: [Function]
, error: [Function]
, end: [Function]
}
}
undefined
Uploading: %100
uploaded P1000991 - small.jpg to /tmp/60ceac59cf20e091548c02c7b214c439.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment