mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Document some undefined behavior in cowboy_router
This commit is contained in:
parent
c65e3ff20e
commit
f0cae8dbcf
2 changed files with 10 additions and 0 deletions
|
@ -428,6 +428,8 @@ compile_test_() ->
|
|||
{[<<"horses">>], [], h, o},
|
||||
{[<<"hats">>], [], h, o},
|
||||
{[<<"hats">>, <<"page">>, number], [], h, o}]}]},
|
||||
{[{'_', [{"/hats/:page/:number", h, o}]}], [{'_', [], [
|
||||
{[<<"hats">>, page, number], [], h, o}]}]},
|
||||
{[{'_', [{"/hats/[page/[:number]]", h, o}]}], [{'_', [], [
|
||||
{[<<"hats">>], [], h, o},
|
||||
{[<<"hats">>, <<"page">>], [], h, o},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue