Respect setting of the redirect type, temporary or permanent.