Return responses based on the Accept header