Fixes FIXME. Un-hardcode mimetypes in routes.
Merge pull request #134 from taarifa/unhardcode_mimetype

Fixes FIXME. Un-hardcode mimetypes in routes.