aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_http_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl
index ad9bf94..69b6c08 100644
--- a/src/cowboy_http_req.erl
+++ b/src/cowboy_http_req.erl
@@ -177,7 +177,7 @@ reply(Code, Headers, Body, Req=#http_req{socket=Socket,
%% Internal.
--spec parse_qs(Qs::string()) -> list({Name::string(), Value::string()}).
+-spec parse_qs(Qs::string()) -> list({Name::string(), Value::string() | true}).
parse_qs(Qs) ->
Tokens = string:tokens(Qs, "&"),
[case string:chr(Token, $=) of