aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-09-10 12:25:07 +0200
committerLoïc Hoguin <[email protected]>2012-09-10 12:26:04 +0200
commit79839b7bb5ae3aef77eb7ab704efa6168927845f (patch)
tree8ddb398b58d2a2665562e65a031c2b5e7bb84ff8 /include
parent6fa734b487102ed1436fd61598d51817a46a9b75 (diff)
downloadcowboy-79839b7bb5ae3aef77eb7ab704efa6168927845f.tar.gz
cowboy-79839b7bb5ae3aef77eb7ab704efa6168927845f.tar.bz2
cowboy-79839b7bb5ae3aef77eb7ab704efa6168927845f.zip
Replace cowboy_req:path/1 with cowboy_req:raw_path/1
The latter is much more useful than the former, which ends up being removed.
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 06c21f0..5440d8f 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -28,9 +28,8 @@
host = undefined :: undefined | binary(),
host_info = undefined :: undefined | cowboy_dispatcher:tokens(),
port = undefined :: undefined | inet:port_number(),
- path = undefined :: undefined | '*' | cowboy_dispatcher:tokens(),
+ path = undefined :: undefined | binary(),
path_info = undefined :: undefined | cowboy_dispatcher:tokens(),
- raw_path = undefined :: undefined | binary(),
qs_vals = undefined :: undefined | list({binary(), binary() | true}),
raw_qs = undefined :: undefined | binary(),
bindings = undefined :: undefined | cowboy_dispatcher:bindings(),