bminer/node-static-asset — pull request #3 by vesse (2012-08-30 10:15:34+00:00)
Title: Couple of fixes and improvements

- Added missing `require('fs')` (fixes #1)
- Use `req.set` if it exists, otherwise use `req.setHeader` (support new nodejs versions)
- Second parameter to constructor turned into an `options` hash with the following possible options:
- `cache`: the cache strategy object (formerly the only optional parameter)
- `debug`: turn on the (only) `console.log` line
- `set_expires_headers`: set to false to disable `Expires` and `Cache-Control` headers