Support for mapping url "extensions" to media types