Such a command shows the referral warning.
curl -I -e "http://site.org/" "https://site.org/goto/https://www.partner-site.com/"