Skip to content

Commit

Permalink
Add fail_if_body_too_large example
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kromlinger <[email protected]>
  • Loading branch information
hashworks committed Dec 31, 2024
1 parent 1512b95 commit 081a0e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ modules:
compression: gzip
headers:
Accept-Encoding: gzip
http_endless_stream_example:
prober: http
http:
method: GET
fail_if_header_not_matches:
- header: content-type
regexp: "audio/.*"
body_size_limit: 512B
fail_if_body_too_large: false
tls_connect:
prober: tcp
timeout: 5s
Expand Down

0 comments on commit 081a0e3

Please sign in to comment.