diff options
author | Steven Barth <steven@midlink.org> | 2008-08-26 17:50:32 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-26 17:50:32 +0000 |
commit | df40e4df5e3485d1d70548b420e02b81aa61e60b (patch) | |
tree | 9cb095e2733430076ac1611787e6058c45901b29 /libs/web | |
parent | 05b30bba2adf9974378fc484273b709c55ebc011 (diff) |
libs/json: Completed JSON library
modules/rpc: Added experimental JSON-RPC API
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/http.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index 17b27482e..b1ffac2be 100644 --- a/libs/web/luasrc/http.lua +++ b/libs/web/luasrc/http.lua @@ -197,6 +197,12 @@ function prepare_content(mime) header("Content-Type", mime) end +--- Get the RAW HTTP input source +-- @return HTTP LTN12 source +function source() + return context.request.input +end + --- Set the HTTP status code and status message. -- @param code Status code -- @param message Status message |