rob-murray / ferver

A Ruby gem to serve files over HTTP, packaged as a Ruby gem
MIT License
14 stars 3 forks source link

ETag support #16

Open dkam opened 9 years ago

dkam commented 9 years ago

Hi there, Are you interested in adding etag support? I was thinking of adding an etag attribute to FoundFile, calculating sha1 hash during initialisation, then adding an etag( @file.etag ) to the controller.

Happy to send a pull request if you're interested.

Cheers, Dan

rob-murray commented 9 years ago

Yeah happy with that - feel free to create a PR if you want.