You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res is undefined 2) why res.send(500, 'Streaming file uploads via req.file() are only available over HTTP with Skipper.') ? Where skipper? i mean console.log(request.file + "") prints function(){res.send(500... i do if (request.file) in my code, now request.file is always exist.
The text was updated successfully, but these errors were encountered:
@dangreen thanks for the report! We'll take care of it in the next patch release. We added that stub method to help make it clearer that req.file() is specific to the default setup and skipper when working on the body parser, but clearly forgot to put res in place.
Sails version: 0.12.1
Node version: 5.7.1
NPM version: 3.6.0
Operating system: OS X 10.10
https://github.com/balderdashy/sails/blob/master/lib/router/req.js#L125
res
is undefined2) whyi dores.send(500, 'Streaming file uploads via req.file() are only available over HTTP with Skipper.')
? Where skipper? i meanconsole.log(request.file + "")
printsfunction(){res.send(500...
if (request.file)
in my code, nowrequest.file
is always exist.The text was updated successfully, but these errors were encountered: