Skip to content

Commit 43fc3f2

Browse files
authored
[Ruleset Engine] Update request header fields (#21364)
1 parent ab1ddf9 commit 43fc3f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/content/fields/index.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,6 +1517,8 @@ entries:
15171517
- **Decoding**: No decoding performed
15181518
- **Whitespace**: Preserved
15191519
- **Non-ASCII**: Preserved
1520+
1521+
When the HTTP request contains too many headers, this field may not contain all of the headers sent in the HTTP request. In this situation, the [`http.request.headers.truncated`](/ruleset-engine/rules-language/fields/reference/http.request.headers.truncated/) field will be set to `true`.
15201522
example_value: |-
15211523
{"content-type": ["application/json"]}
15221524
example_block: |-
@@ -1538,6 +1540,8 @@ entries:
15381540
- **Whitespace**: Preserved
15391541
- **Non-ASCII**: Preserved
15401542
1543+
When the HTTP request contains too many headers, this field may not contain the names of all of the headers sent in the HTTP request. In this situation, the [`http.request.headers.truncated`](/ruleset-engine/rules-language/fields/reference/http.request.headers.truncated/) field will be set to `true`.
1544+
15411545
**Note**: In HTTP/2, the names of HTTP headers are always in lowercase. Recent versions of the `curl` tool [enable HTTP/2 by default](https://curl.se/docs/manpage.html#--http2) for HTTPS connections.
15421546
example_value: |-
15431547
["content-type"]
@@ -1560,6 +1564,8 @@ entries:
15601564
- **Whitespace**: Preserved
15611565
- **Non-ASCII**: Preserved
15621566
1567+
When the HTTP request contains too many headers, this field may not contain the values of all of the headers sent in the HTTP request. In this situation, the [`http.request.headers.truncated`](/ruleset-engine/rules-language/fields/reference/http.request.headers.truncated/) field will be set to `true`.
1568+
15631569
**Note**: In HTTP/2, the names of HTTP headers are always in lowercase. Recent versions of the `curl` tool [enable HTTP/2 by default](https://curl.se/docs/manpage.html#--http2) for HTTPS connections.
15641570
example_value: |-
15651571
Example 1: ["application/json"]
@@ -1578,7 +1584,7 @@ entries:
15781584
keywords: [request, client, visitor]
15791585
summary: Indicates whether the HTTP request contains too many headers.
15801586
description: |-
1581-
When `true`, [`http.request.headers`](/ruleset-engine/rules-language/fields/reference/http.request.headers), [`http.request.headers.names`](/ruleset-engine/rules-language/fields/reference/http.request.headers.names), and [`http.request.headers.values`](/ruleset-engine/rules-language/fields/reference/http.request.headers.values) may not contain all of the headers sent in the HTTP request.
1587+
When `true`, [`http.request.headers`](/ruleset-engine/rules-language/fields/reference/http.request.headers/), [`http.request.headers.names`](/ruleset-engine/rules-language/fields/reference/http.request.headers.names/), and [`http.request.headers.values`](/ruleset-engine/rules-language/fields/reference/http.request.headers.values/) may not contain all of the headers sent in the HTTP request.
15821588
15831589
- name: http.request.accepted_languages
15841590
data_type: Array<String>

0 commit comments

Comments
 (0)