mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix the req_SUITE:parse_cookie test
We now allow spaces in cookie names.
This commit is contained in:
parent
0fc33c5300
commit
bcef70818b
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ parse_cookies(Config) ->
|
|||
[{<<"cookie">>, "cake=strawberry"}, {<<"cookie">>, "color=blue"}], Config),
|
||||
%% Ensure parse errors result in a 400 response.
|
||||
{400, _, _} = do_get("/parse_cookies",
|
||||
[{<<"cookie">>, "bad name=strawberry"}], Config),
|
||||
[{<<"cookie">>, "bad\tname=strawberry"}], Config),
|
||||
{400, _, _} = do_get("/parse_cookies",
|
||||
[{<<"cookie">>, "goodname=strawberry\tmilkshake"}], Config),
|
||||
ok.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue