It is not a good idea to choose `None` as default and in the next line do `content_type.lower()`