From 33d5668d54e4aa72b8e50b62ec370138d37bcfb0 Mon Sep 17 00:00:00 2001 From: James Graham Date: Wed, 5 Jul 2023 12:46:57 +0100 Subject: [PATCH] Convert to BytesValue --- index.bs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.bs b/index.bs index 5e6d1171..6b03148e 100644 --- a/index.bs +++ b/index.bs @@ -4339,7 +4339,7 @@ that's blocked by a [=network intercept=]. network.ContinueRequestParameters = { request: network.Request, - ?body: network.Body, + ?body: network.BytesValue, ?headers: [*network.Header], ?method: text, ?url: text, @@ -4398,13 +4398,13 @@ The [=remote end steps=] given |session| and |command parameters| are: 1. For |header| in |command parameters|["headers"]: - 1. Append [=serialize a header=] with |header| to |headers|. + 1. Append [=deserialize header=] with |header| to |headers|. 1. Set |request|'s [=request/headers list=] to |headers|. 1. If |command parameters| [=map/contains=] "body": - 1. Let |body| be [=get the body=] with |command + 1. Let |body| be [=deserialize bytes=] with |command parameters|["body"]. 1. Set |request|'s [=request/body=] to |body|. @@ -4494,7 +4494,7 @@ To update the response given |session|, |command| and |command parame 1. For |header| in |command parameters|["headers"]: - 1. Append [=serialize a header=] with |header| to |headers|. + 1. Append [=deserialize header=] with |header| to |headers|. 1. Set |response|'s [=response/header list=] to |headers|.