Remove methost to set content type and add method to set headers