rob-murray / ferver

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

Use request Content-Type for return type #2

Closed rob-murray closed 10 years ago

rob-murray commented 10 years ago

Remove the files.html and files.json routes and negotiate return content type via Accept request header.