aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-21 22:32:02 +0100
committerLoïc Hoguin <[email protected]>2011-03-21 22:32:02 +0100
commit0c0b75f76be16dc3933e4fa5d7d90fb29cd2a362 (patch)
tree0a58eb2c17790635ebe462fc5a7f1681a8dc43b8
parentc366343ac6b91de3af810584583bb90ff5fc5ddc (diff)
downloadcowboy-0c0b75f76be16dc3933e4fa5d7d90fb29cd2a362.tar.gz
cowboy-0c0b75f76be16dc3933e4fa5d7d90fb29cd2a362.tar.bz2
cowboy-0c0b75f76be16dc3933e4fa5d7d90fb29cd2a362.zip
Fix spec for the #http_spec.path record field.
-rw-r--r--include/http.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http.hrl b/include/http.hrl
index e4b9716..72e60fb 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -24,7 +24,7 @@
peer = undefined :: undefined | {Address::ip_address(), Port::port_number()},
host = undefined :: undefined | path_tokens(),
raw_host = undefined :: undefined | string(),
- path = undefined :: undefined | path_tokens(),
+ path = undefined :: undefined | '*' | path_tokens(),
raw_path = undefined :: undefined | string(),
qs_vals = undefined :: undefined | bindings(),
raw_qs = undefined :: undefined | string(),