diff options
Diffstat (limited to 'libs/web/luasrc')
-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 |