Skip to content

Commit 6b19692

Browse files
jgrahamfoolip
andcommitted
Apply suggestions from code review
Co-authored-by: Philip Jägenstedt <[email protected]>
1 parent b56ccaf commit 6b19692

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3945,7 +3945,7 @@ To <dfn>get a header</dfn> given |name bytes| and |value bytes|:
39453945

39463946
1. If |utf8 decoded value| is failure, then:
39473947

3948-
1. let |value| be null and |binary value| be a list.
3948+
1. Let |value| be null and |binary value| be an empty list.
39493949

39503950
1. For each |byte| in |value bytes|:
39513951

@@ -4048,7 +4048,7 @@ The <code>RequestData</code> type represents an ongoing network request.
40484048

40494049
<div algorithm>
40504050

4051-
To <dfn>get the request data</div> given |request|:
4051+
To <dfn>get the request data</dfn> given |request|:
40524052

40534053
1. Let |request id| be request's [=request id=].
40544054

@@ -4057,7 +4057,7 @@ To <dfn>get the request data</div> given |request|:
40574057

40584058
1. Let |method| be |request|'s [=request/method=].
40594059

4060-
1. let |body size| be 0.
4060+
1. Let |body size| be 0.
40614061

40624062
1. Let |body| be request's [=request/body=].
40634063

@@ -4070,7 +4070,7 @@ To <dfn>get the request data</div> given |request|:
40704070
1. Let |headers size| be the size in bytes of |request|'s [=request/headers list=] when
40714071
serialized as mandated by [[HTTP11]].
40724072

4073-
Note: for protocols which allow header compression, this is the compressed
4073+
Note: For protocols which allow header compression, this is the compressed
40744074
size of the headers, as sent over the network.
40754075

40764076
1. Let |headers| be an empty list.
@@ -4079,7 +4079,7 @@ To <dfn>get the request data</div> given |request|:
40794079

40804080
1. For each (|name|, |value|) in |request|'s [=request/headers list=]:
40814081

4082-
1. Append the result of [=get a Header=] with |name| and |value| to |headers|.
4082+
1. Append the result of [=get a header=] with |name| and |value| to |headers|.
40834083

40844084
1. If |name| is a [=byte-case-insensitive=] match for "<code>Cookie</code>" then:
40854085

0 commit comments

Comments
 (0)