Closed clenk closed 6 months ago
Description for the request_header property says:
request_header
The corresponding value for each dictionary key MUST always be a list of type string to support when a header field is repeated.
But this is in the example below the properties table:
"http-request-ext": { "request_method": "get", "request_value": "/download.html", "request_version": "http/1.1", "request_header": { "Accept-Encoding": "gzip,deflate", "User-Agent": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113", "Host": "www.example.com" } }
Seems like it should be
"http-request-ext": { "request_method": "get", "request_value": "/download.html", "request_version": "http/1.1", "request_header": { "Accept-Encoding": ["gzip,deflate"], "User-Agent": ["Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113"], "Host": ["www.example.com"] } }
See https://github.com/oasis-open/cti-stix2-json-schemas/issues/152
related to #277
Description for the
request_header
property says:But this is in the example below the properties table:
Seems like it should be
See https://github.com/oasis-open/cti-stix2-json-schemas/issues/152