would it ever be valid for ``MIMEType`` to be ``None``? If not, then there should either be a check, or ``MIMEType`` should not be a kwarg