import $MimeTypeProvider from 'angie/src/util/$MimeTypeProvider.js'
$MimeTypeProvider
You can directly use instance of this class.
$MimeTypeProvider
$MimeTypeProvider is predominately used internally to specify a properties mime type on response objects. It can also be used in special cases for routing views.
Example:
$MimeTypeProvider._('test.json'); // = 'application/json'
Static Method Summary
Static Public Methods | ||
public static |
Find a mime type based on a pathname |
since 0.2.6 |