Module stick/middleware/upload
This module provides support for parsing multipart MIME messages used for file uploads.
This module behaves analogous and can be used in combination with the params middleware.
Functions
- middleware(next, app)
middleware (next, app)
Middleware factory to enable support for parsing file uploads.
Parameters
Function | next | the wrapped middleware chain |
Object | app | the Stick Application object |
Returns
Function | a JSGI middleware function |
request.postParams
An object containing the parsed HTTP POST parameters sent with this request.