0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Req Body length can be a non_neg_integer or infinity

This commit is contained in:
Steven Magelowitz 2017-07-10 14:02:54 -07:00 committed by Loïc Hoguin
parent 404ad037a1
commit 7eb0072b06
No known key found for this signature in database
GPG key ID: 71366FF21851DF03

View file

@ -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()
}.