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