与常规 3xx 服务器重定向不同,Navigator.sendBeacon() 不遵循 Refresh 标头重定向。例如,在 PHP 中:
header('Location: https://destination.url',true,3xx);
sendBeacon() 遵循上面的服务器代码没有任何问题。但是,它没有遵循:
header('Refresh: 0; url=https://destination.url');
服务器是否可以与 Refresh 重定向标头一起发送任何内容以使 sendBeacon() 正确遵循它?