Skip to content

Commit 982faf4

Browse files
jgrahamfoolip
andauthored
Apply suggestions from code review
Co-authored-by: Philip Jägenstedt <[email protected]>
1 parent e3953da commit 982faf4

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
@@ -3876,7 +3876,7 @@ To <dfn>get a header</dfn> given |name bytes| and |value bytes|:
38763876

38773877
1. If |utf8 decoded value| is failure, then:
38783878

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

38813881
1. For each |byte| in |value bytes|:
38823882

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

39803980
<div algorithm>
39813981

3982-
To <dfn>get the request data</div> given |request|:
3982+
To <dfn>get the request data</dfn> given |request|:
39833983

39843984
1. Let |request id| be request's [=request id=].
39853985

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

39893989
1. Let |method| be |request|'s [=request/method=].
39903990

3991-
1. let |body size| be 0.
3991+
1. Let |body size| be 0.
39923992

39933993
1. Let |body| be request's [=request/body=].
39943994

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

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

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

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

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

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

0 commit comments

Comments
 (0)