mirror of
https://github.com/servo/servo
synced 2026-04-27 18:07:52 +02:00
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:
committed by
GitHub
parent
5b6509f279
commit
b02465bc53
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user