deal with Content-Type