Skip to content

Commit 081a0e3

Browse files
committed
Add fail_if_body_too_large example
Signed-off-by: Justin Kromlinger <[email protected]>
1 parent 1512b95 commit 081a0e3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

example.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,15 @@ modules:
9898
compression: gzip
9999
headers:
100100
Accept-Encoding: gzip
101+
http_endless_stream_example:
102+
prober: http
103+
http:
104+
method: GET
105+
fail_if_header_not_matches:
106+
- header: content-type
107+
regexp: "audio/.*"
108+
body_size_limit: 512B
109+
fail_if_body_too_large: false
101110
tls_connect:
102111
prober: tcp
103112
timeout: 5s

0 commit comments

Comments
 (0)