From e0b5526f1e6c0794fc76c77f0fc6a4a95696d23f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 15 May 2013 15:17:33 +0200 Subject: 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. --- guide/req.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'guide/req.md') diff --git a/guide/req.md b/guide/req.md index aa3bf4b..a92ed82 100644 --- a/guide/req.md +++ b/guide/req.md @@ -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 -- cgit v1.2.3