flatiron/director — pull request #171 by maxogden (2012-12-19 21:14:26+00:00)
Title: change http server callback function identity to match the normal api

I wanted to do this (so that I could use the many functions on NPM that accept the `(req, res)` identity):

```javascript
router.get('/', function(req, res) {
res.end('hello')
})
```

instead of this

```javascript
router.get('/', function() {
this.res.end('hello')
})
```

there might be a better way to implement this but given the level of abstraction inside the director codebase I couldn't figure out anything more elegant. I also made sure all the tests still pass