Resume now sends raw via curl but html via browser