Only set content-type if not already determined