diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl index ad9bf948..69b6c082 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