added mime type support for static resources