Try HEAD and switch to GET if that fails