IE doesn’t upload csv files with text/* media type. Content-type cannot be trusted, the only way of telling if data is of a particular type is to see if it parses successfully.