webmcp

view framework/env/request/get_path.lua @ 541:72e55c2eb63c

Use "cc -shared" instead of "ld -shared" to create *.so files
author jbe
date Sat Oct 19 15:05:55 2019 +0200 (2019-10-19)
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