set content-type for non get requests