Added mandatory whitelist of accept types and optional default accept type