preserve content type on redirects