Plugins #15

Open
wants to merge 16 commits into
from
Commits on Apr 23, 2012
  1. Whitespace cleanup

    isaacs committed Apr 23, 2012
  2. s/_header/_headerSent/g

    isaacs committed Apr 23, 2012
    The _header field can be set in a few ways that don't necessarily
    mean that it's been sent.  Also, for HTTP 0.9 requests, it should
    be set to an empty string, even when set (this is currently not
    handled correctly in node, but will be eventually.)
    
    Replace checks for _headerSent, which is a boolean indicating that
    the header portion of the request has actually been sent to the
    client, which is the intended semantics here.
  3. Abstract out the req/resp decoration from onRequest

    isaacs committed Apr 23, 2012
    Also, mark onRequest as _private
  4. Remove dead code

    isaacs committed Apr 23, 2012
  5. Move the route match data to req.match

    isaacs committed Apr 23, 2012
    The next commit will make req.route a reference to the tako Route object
  6. Implement route.must()

    isaacs committed Apr 23, 2012