aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index fc82308..09e1ee5 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -88,7 +88,7 @@
-export_type([cookie_opts/0]).
-type read_body_opts() :: #{
- length => non_neg_integer(),
+ length => non_neg_integer() | infinity,
period => non_neg_integer(),
timeout => timeout()
}.