aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_constraints.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_constraints.erl')
-rw-r--r--src/cowboy_constraints.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_constraints.erl b/src/cowboy_constraints.erl
index 9bd578e..72a6a18 100644
--- a/src/cowboy_constraints.erl
+++ b/src/cowboy_constraints.erl
@@ -58,3 +58,4 @@ int(Value) when is_binary(Value) ->
nonempty(<<>>) -> false;
nonempty(Value) when is_binary(Value) -> true.
+%% @todo Perhaps return true for any other type except empty list?