diff options
author | Steven Magelowitz <[email protected]> | 2017-04-20 15:12:23 -0700 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-05 17:55:18 +0200 |
commit | f302ce2b83247c625391be26da9cddf1b8722e34 (patch) | |
tree | da67ccb7a0e2419ce34ea6b7818a41576afb6276 | |
parent | 8ef1382f0a949d2d094a7c1a3acf3c0486f4f85b (diff) | |
download | cowboy-f302ce2b83247c625391be26da9cddf1b8722e34.tar.gz cowboy-f302ce2b83247c625391be26da9cddf1b8722e34.tar.bz2 cowboy-f302ce2b83247c625391be26da9cddf1b8722e34.zip |
length can be a non_neg_integer or infinity
-rw-r--r-- | src/cowboy_req.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl index ffc6e12..9417ad1 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() }. |