Skip to content

Commit

Permalink
Convert to BytesValue
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham authored and jrandolf-2 committed Jul 6, 2023
1 parent fe3e0fe commit 33d5668
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -4398,13 +4398,13 @@ The [=remote end steps=] given |session| and |command parameters| are:

1. For |header| in |command parameters|["<code>headers</code>"]:

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=] "<code>body</code>":

1. Let |body| be [=get the body=] with |command
1. Let |body| be [=deserialize bytes=] with |command
parameters|["<code>body</code>"].

1. Set |request|'s [=request/body=] to |body|.
Expand Down Expand Up @@ -4494,7 +4494,7 @@ To <dfn>update the response</dfn> given |session|, |command| and |command parame

1. For |header| in |command parameters|["<code>headers</code>"]:

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|.

Expand Down

0 comments on commit 33d5668

Please sign in to comment.