res.clearCookie(name [, options]) Clears the cookie specified by name. For details about the options object, see
res.vary(field) Adds the field to the Vary response header, if it is not there already.
res.attachment([filename]) Sets the HTTP response Content-Disposition header field to “attachment”. If a filename
res.jsonp([body]) Sends a JSON response with JSONP support. This method is identical to res.json(), except that it opts-in to JSONP
res.sendStatus(statusCode) Sets the response HTTP status code to statusCode and send its string representation as the response
res.status(code) Sets the HTTP status for the response. It is a chainable alias of Node’s
res.locals An object that contains response local variables scoped to the request, and therefore available only to the view(s) rendered during
res.type(type) Sets the Content-Type HTTP header to the MIME type as determined by
res.send([body]) Sends the HTTP response. The body parameter can be a Buffer object
res.download(path [, filename] [, fn]) Transfers the file at path as an “attachment”. Typically, browsers will prompt the user
Page 2 of 3