diff options
author | Loïc Hoguin <[email protected]> | 2011-10-24 21:37:20 -0700 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-10-24 21:37:20 -0700 |
commit | 62230182127a1482e664681523c8ad2029cfac5f (patch) | |
tree | 3bef3d23cda6dae5467ebb537598a717afde8075 | |
parent | 30a1d13ae9af2711890c0f14aae7df9cd56cb2c7 (diff) | |
parent | 3ba578d5e4ec7a14a39fcd1b5842d2074d6c8544 (diff) | |
download | cowboy-62230182127a1482e664681523c8ad2029cfac5f.tar.gz cowboy-62230182127a1482e664681523c8ad2029cfac5f.tar.bz2 cowboy-62230182127a1482e664681523c8ad2029cfac5f.zip |
Merge pull request #79 from athoune/patch-1
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 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`. |