Skip to content

Commit

Permalink
Add png() as a mime type shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
cjc committed Mar 9, 2011
1 parent c661920 commit 263c777
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/quip.js
Expand Up @@ -93,6 +93,7 @@ exports.update = function(res,viewTypes){
res.rss = withType('application/rss+xml');
res.javascript = withType('text/javascript');
res.json = withType('application/json');
res.png = withType('image/png');

// JSONP is a special case that should always respond with a 200,
// there is no reliable way to reveive a JSONP result on the
Expand Down

0 comments on commit 263c777

Please sign in to comment.