visionmedia/express — Issue #1024: allow mime mapping in res.format()
Author: visionmedia
Created: 2012-02-23 04:17:10+00:00
State: open
Labels: 3.x

```js
res.format({
json: function(){
res.send(user);
}
})
```

vs

```js
res.format({
'application/json': function(){
res.send(user);
}
})
```