Simple response helpers to change the content type, redirect, or return a canned response
(content-type ctype content)
Wraps the response with the given content type and sets the body to the content.
Return a successful, but completely empty response
Wraps the response in the json content type and generates JSON from the content
(jsonp func-name content)
func-name with it.
A header redirect to a different url
(status code content)
Wraps the content in the given status code
Wraps the response with the content type for xml and sets the body to the content.