2 // the standard layout (which can be seen in layouts.js) includes a body -
3 // this function is responsible for rendering that body
4 exports.body = function(request, response, callback) {
5 response.write("new body for main");
9 // before any data is written for a request, this is called and this is where you
10 // might process post data for example.
11 exports.preResponse = function(request, response, callback) {
12 console.log("this is preresponse for main");