webmcp

view framework/env/request/is_post.lua @ 380:16baed4c0483

Extended _column_info table to be an associative array as well (in addition to a sequence); Allow direct (proxy) access to fields of JSON object in a special column (completed write access)
author jbe
date Mon Nov 16 01:33:02 2015 +0100 (2015-11-16)
parents 32ec28229bb5
children
line source
1 --[[--
2 bool = -- true, if the current request is a POST request
3 request.is_post()
5 This function can be used to check, if the current request is a POST request.
7 --]]--
9 function request.is_post()
10 if request._forward_processed then
11 return false
12 else
13 return request._http_request.method == "POST"
14 end
15 end

Impressum / About Us