From 3922094603dd56f446c3e8287d2feb1abe808638 Mon Sep 17 00:00:00 2001 From: Freddie Leeman Date: Wed, 10 Jul 2019 18:59:48 +0200 Subject: [PATCH] Make OPTIONAL violation report keys clearer Although the document describes the 'test-report' as optional, this is not communicated in #generating-a-violation-report. I have updated the 'scheme' key description to match the new 'test-report' key description. --- draft-ietf-httpbis-expect-ct.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/draft-ietf-httpbis-expect-ct.md b/draft-ietf-httpbis-expect-ct.md index b432a906c..8a8c4fc65 100644 --- a/draft-ietf-httpbis-expect-ct.md +++ b/draft-ietf-httpbis-expect-ct.md @@ -470,9 +470,9 @@ request that failed the CT compliance check. The value is provided as a string. * "port": the value is the port to which the UA made the original request that failed the CT compliance check. The value is provided as an integer. -* "scheme": the value is the scheme with which the UA made the original request -that failed the CT compliance check. The value is provided as a string. This -key is optional and is assumed to be "https" if not present. +* "scheme": (OPTIONAL) the value is the scheme with which the UA made the +original request that failed the CT compliance check. The value is provided as a +string and assumed to be "https" if not present. * "effective-expiration-date": the value indicates the Effective Expiration Date (see {{storage-model}}) for the Expect-CT Host that failed the CT compliance @@ -530,7 +530,7 @@ by an Expect-CT policy in enforce or report-only mode. The value is provided as a string. The UA MUST set this value to "enforce" if the Expect-CT metadata indicates an `enforce` configuration, and "report-only" otherwise. -* "test-report": the value is set to true if the report is being sent by a +* "test-report": (OPTIONAL) the value is set to true if the report is being sent by a testing client to verify that the report server behaves correctly. The value is provided as a boolean, and MUST be set to true if the report serves to test the server's behavior and can be discarded.