Node Web API for discovering content types for URLs