Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Response Options

Lakshan Perera edited this page · 1 revision

A content handler or helper can pass a response_options object in the callback. It can contain the following properties:

  • status (integer) - HTTP status code (eg. 200, 404, 500)
  • header (object) - Any field that can be set in the HTTP Header.
  • cache (object) - HTTP Cache response directives. eg. { "mag_age": 0, "directives": ["public"] }
  • log (object) - eg. { "log": { "message": "This will be logged in server's log" } }
Something went wrong with that request. Please try again.