preserve content-type as well