why? the next block should detect mime-type anyways, don't see any reason to add more code here to cope with this invalid charset