0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Remove cowboy_req:fragment/1

Clients do not send it. We skip the value if we receive it now,
as it shouldn't happen, and won't for all the mainstream clients.
This commit is contained in:
Loïc Hoguin 2013-05-15 15:17:33 +02:00
parent 7577ce4920
commit e0b5526f1e
3 changed files with 102 additions and 126 deletions

View file

@ -41,8 +41,7 @@ The following access functions are defined in `cowboy_req`:
* `qs/1`: the entire query string unmodified
* `qs_val/{2,3}`: the value for the requested query string key
* `qs_vals/1`: all key/values found in the query string
* `fragment/1`: the fragment part of the URL (e.g. `#nav-links`)
* `host_url/1`: the requested URL without the path, qs and fragment
* `host_url/1`: the requested URL without the path and query string
* `url/1`: the requested URL
* `binding/{2,3}`: the value for the requested binding found during routing
* `bindings/1`: all key/values found during routing