res.vary(field) Adds the field to the Vary response header, if it is not there already.
res.status(code) Sets the HTTP status for the response. It is a chainable alias of Node’s
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.locals An object that contains response local variables scoped to the request, and therefore available only to the view(s) rendered during
res.attachment([filename]) Sets the HTTP response Content-Disposition header field to “attachment”. If a filename
res.clearCookie(name [, options]) Clears the cookie specified by name. For details about the options object, see
res.location(path) Sets the response Location HTTP header to the specified path parameter.
res.type(type) Sets the Content-Type HTTP header to the MIME type as determined by
res.download(path [, filename] [, fn]) Transfers the file at path as an “attachment”. Typically, browsers will prompt the user
Page 2 of 3