moving content-type to headers arg