Fix to accept requests using different content types