mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix match_qs with constraints when key is not present
Original fix by Ali Farhadi <a.farhadi@gmail.com>.
This commit is contained in:
parent
3e145af9b9
commit
08c2be058a
3 changed files with 8 additions and 1 deletions
|
@ -266,6 +266,7 @@ match_qs(Config) ->
|
|||
end,
|
||||
%% Ensure match errors result in a 400 response.
|
||||
{400, _, _} = do_get("/match/qs/a/c?a=b", [], Config),
|
||||
{400, _, _} = do_get("/match/qs_with_constraints", [], Config),
|
||||
%% This function is tested more extensively through unit tests.
|
||||
ok.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue