jbe@227: --[[-- jbe@227: path = jbe@227: request.get_path() jbe@227: jbe@227: Returns the path in the URL of the request. jbe@227: jbe@227: --]]-- jbe@227: jbe@227: function request.get_path() jbe@227: local path = request._http_request.path jbe@227: if not path then jbe@227: error("No valid path for HTTP request") jbe@227: end jbe@227: return path jbe@227: end