upload content-type check