From 79839b7bb5ae3aef77eb7ab704efa6168927845f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 10 Sep 2012 12:25:07 +0200 Subject: 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. --- include/http.hrl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/http.hrl') 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(), -- cgit v1.2.3