webmcp

view framework/env/request/get_path.lua @ 510:696d7e5f2bcb

Added "Layouts" section to WebMCP documentation and cleaned "Directory structure" section up
author jbe
date Mon Aug 21 03:58:33 2017 +0200 (2017-08-21)
parents 32b79658e5ae
children
line source
1 --[[--
2 path =
3 request.get_path()
5 Returns the path in the URL of the request without the leading slash and without the query part.
6 May return nil for a HTTP OPTIONS request with "*" target.
8 --]]--
10 function request.get_path()
11 return request._http_request.path
12 end

Impressum / About Us