only issue an MIME error when the MIME is set in the header