snicol/spire — Issue #8: Add mime type checker for rendering files
Author: snicol
Created: 2011-10-10 22:31:56+00:00
State: open

Need a mime type checker for files rendered in controllers and also for Router#return_file to route any /public files correctly.

https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/http/mime_type.rb
https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/http/mime_types.rb

Inspiration...