Skip to content

Commit

Permalink
Fix network traffic http-request request_header
Browse files Browse the repository at this point in the history
From the 2.1 spec:
> The corresponding value for each dictionary key MUST always be a list
of type string to support when a header field is repeated.

With thanks to @JasperJuergensen for spotting the issue and suggesting
the fix.
  • Loading branch information
clenk committed Mar 14, 2024
1 parent 76a0199 commit a433750
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion schemas/observables/network-traffic.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,10 @@
"description": "Specifies all of the HTTP header fields that may be found in the HTTP client request, as a dictionary.",
"patternProperties": {
"^.+$": {
"type": "string"
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
Expand Down

0 comments on commit a433750

Please sign in to comment.