lib/sendRequest.js
function render (req, res, body) {
  var response = {};
  var parsedURL = parseURL(req.url);

  // Append URL properties
  for (var prop in parsedURL)
    response[prop] = parsedURL[prop];

  // Append select `req` properties
  ['method', 'url'].forEach(function (prop) {
    response[prop] = req[prop];
  });

  // Append select `res` properties
  ['headers', 'statusCode'].forEach(function (prop) {
    response[prop] = res[prop];
  });

  response.body = body;

  return response;
}
function render (req, res, body) {
  var response = {};
  var parsedURL = parseURL(req.url);

  // Append URL properties
  for (var prop in parsedURL)
    response[prop] = parsedURL[prop];

  // Append select `req` properties
  ['method', 'url'].forEach(function (prop) {
    response[prop] = req[prop];
  });

  // Append select `res` properties
  ['headers', 'statusCode'].forEach(function (prop) {
    response[prop] = res[prop];
  });

  response.body = body;

  return response;
}
Takes a request, response and body object and return a response object
for the `send` callback.

@param {Request} req
@param {Response} res
@param {Object|String} body
@return {Object}