check content-type