script: Mark beacon requests as keepalive (#41405)

This is checked if the body is a stream, but the payload calculation
needs to be in a follow-up PR.

Part of #38302

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe
2025-12-19 10:01:36 +01:00
committed by GitHub
parent 5b6509f279
commit b02465bc53
7 changed files with 64 additions and 27 deletions

View File

@@ -995,7 +995,7 @@ impl HTMLFormElement {
let global = self.global();
let request_body = bytes
.extract(&global, can_gc)
.extract(&global, false, can_gc)
.expect("Couldn't extract body.")
.into_net_request_body()
.0;