Skip to content

Commit 30b8aa7

Browse files
mathiasbynensdcreager
authored andcommitted
Clarify note on header value interpretation (#120)
It's not incorrect to say the header's value is interpreted as an array of JSON-formatted objects, but it is confusing, because "array" is being used in the non-technical sense. This patch aims to clarify this paragraph.
1 parent 5bdc0e0 commit 30b8aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ <h3 id="header">The `Report-To` HTTP Response Header Field</h3>
423423
; See Section 2 of [[HTTP-JFV]], and Section 2 of [[RFC8259]]
424424
</pre>
425425

426-
The header's value is interpreted as an array of JSON objects, as described in
427-
Section 4 of [[HTTP-JFV]].
426+
The header's value is interpreted as a JSON-formatted array of objects
427+
without the outer `[` and `]`, as described in Section 4 of [[HTTP-JFV]].
428428

429429
Each object in the array defines an <a>endpoint group</a> to which reports may
430430
be delivered, and will be parsed as defined in [[#process-header]].

0 commit comments

Comments
 (0)