Using content-type for choosing the viewer instead of extension