Remove set mime header function that is no longer required