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:
parent
7577ce4920
commit
e0b5526f1e
3 changed files with 102 additions and 126 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue