aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/compress_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/compress_h.erl')
-rw-r--r--test/handlers/compress_h.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/handlers/compress_h.erl b/test/handlers/compress_h.erl
index 5787b66..4b4dbe7 100644
--- a/test/handlers/compress_h.erl
+++ b/test/handlers/compress_h.erl
@@ -11,6 +11,8 @@ init(Req0, State=reply) ->
cowboy_req:reply(200, #{}, lists:duplicate(100, $a), Req0);
<<"large">> ->
cowboy_req:reply(200, #{}, lists:duplicate(100000, $a), Req0);
+ <<"over-threshold">> ->
+ cowboy_req:reply(200, #{}, lists:duplicate(200, $a), Req0);
<<"content-encoding">> ->
cowboy_req:reply(200, #{<<"content-encoding">> => <<"compress">>},
lists:duplicate(100000, $a), Req0);