Using fetch instead of exists for HEAD.