webmcp
diff framework/env/request/get_path.lua @ 451:32b79658e5ae
Fixed wrong documentation (no leading slash in request.get_path)
author | jbe |
---|---|
date | Thu Jul 21 13:01:34 2016 +0200 (2016-07-21) |
parents | 3db6f3ad0703 |
children |
line diff
1.1 --- a/framework/env/request/get_path.lua Thu Jul 21 12:46:10 2016 +0200 1.2 +++ b/framework/env/request/get_path.lua Thu Jul 21 13:01:34 2016 +0200 1.3 @@ -2,7 +2,8 @@ 1.4 path = 1.5 request.get_path() 1.6 1.7 -Returns the path in the URL of the request. May return nil for a HTTP OPTIONS request with "*" target. 1.8 +Returns the path in the URL of the request without the leading slash and without the query part. 1.9 +May return nil for a HTTP OPTIONS request with "*" target. 1.10 1.11 --]]-- 1.12