function send$3 (req, res, status, headers, message) {
  function write () {
    // response body
    var body = createHtmlDocument$1(message);

    // response status
    res.statusCode = status;
    res.statusMessage = statuses$2.message[status];

    // remove any content headers
    res.removeHeader('Content-Encoding');
    res.removeHeader('Content-Language');
    res.removeHeader('Content-Range');

    // response headers
    setHeaders$1(res, headers);

    // security headers
    res.setHeader('Content-Security-Policy', "default-src 'none'");
    res.setHeader('X-Content-Type-Options', 'nosniff');

    // standard headers
    res.setHeader('Content-Type', 'text/html; charset=utf-8');
    res.setHeader('Content-Length', Buffer.byteLength(body, 'utf8'));

    if (req.method === 'HEAD') {
      res.end();
      return
    }

    res.end(body, 'utf8');
  }

  if (isFinished(req)) {
    write();
    return
  }

  // unpipe everything from the request
  unpipe(req);

  // flush the request
  onFinished$2(req, write);
  req.resume();
}
Maximum value allowed for the max age.
@private