Skip to content

Commit

Permalink
Convert to BytesValue
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Jul 5, 2023
1 parent 1246b41 commit f15a14a
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 @@ -4338,7 +4338,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 @@ -4397,13 +4397,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 @@ -4493,7 +4493,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 f15a14a

Please sign in to comment.