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/581005 to your computer and use it in GitHub Desktop.
Save robb1e/581005 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'
, 'user-agent': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8'
, accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
, 'accept-language': 'en-us,en;q=0.5'
, 'accept-encoding': 'gzip,deflate'
, 'accept-charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
, 'keep-alive': '115'
, connection: 'keep-alive'
, referer: 'http://localhost:3000/'
, cookie: 'JSESSIONID=1dl2l6dhtu3ux1apo851oyj1dm'
, 'content-type': 'application/x-www-form-urlencoded'
, 'content-length': '41'
}
, type: 'urlencoded'
, bytesReceived: 0
, bytesExpected: 41
, _parser: { buffer: '', onField: [Function], onEnd: [Function] }
, _flushing: 0
, _fieldsSize: 0
, complete: [Function]
, pause: [Function]
, resume: [Function]
, _events:
{ field: [Function]
, file:
/Users/robb1e/dev/express/examples/multipart/app.js:38
files.image.filename,
^
TypeError: Cannot read property 'filename' of undefined
at /Users/robb1e/dev/express/examples/multipart/app.js:38:28
at /Users/robb1e/dev/express/support/connect-form/index.js:63:26
at IncomingForm.<anonymous> (/usr/local/lib/node/.npm/formidable/0.9.8/package/lib/formidable/incoming_form.js:99:9)
at IncomingForm.emit (events:26:26)
at IncomingForm._maybeEnd (/usr/local/lib/node/.npm/formidable/0.9.8/package/lib/formidable/incoming_form.js:343:8)
at QuerystringParser.onEnd (/usr/local/lib/node/.npm/formidable/0.9.8/package/lib/formidable/incoming_form.js:319:10)
at QuerystringParser.end (/usr/local/lib/node/.npm/formidable/0.9.8/package/lib/formidable/querystring_parser.js:24:8)
at IncomingMessage.<anonymous> (/usr/local/lib/node/.npm/formidable/0.9.8/package/lib/formidable/incoming_form.js:80:30)
at IncomingMessage.emit (events:26:26)
at HTTPParser.onMessageComplete (http:107:23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment