mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Update README.md
This commit is contained in:
parent
30a1d13ae9
commit
3ba578d5e4
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ multiple trailing segments of the request path using the atom `'...'` (the atom
|
|||
ellipsis) respectively as the first host token or the last path token. For
|
||||
example, host rule `['...', <<"dev-extend">>, <<"eu">>]` can match both
|
||||
"cowboy.bugs.dev-extend.eu" and "dev-extend.eu" and path rule
|
||||
`[<<"projects">>, '...']` can math both "/projects" and
|
||||
`[<<"projects">>, '...']` can match both "/projects" and
|
||||
"/projects/cowboy/issues/42". The host leading segments and the path trailing
|
||||
segments can later be retrieved through `cowboy_http_req:host_info/1` and
|
||||
`cowboy_http_req:path_info/1`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue