summaryrefslogtreecommitdiffhomepage
path: root/documentation/api/modules/luci.http.html
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-05 09:31:27 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-05 09:37:52 +0100
commitd80dd2291ff01d264dfa802b769fa19756f07821 (patch)
treedfe7d9dc3cd772f635bdd8a4d29d55822d846149 /documentation/api/modules/luci.http.html
parent3942789dc62d6a0e7fcfb0a935bfe5c8d372245b (diff)
documentation: update Lua API docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 2ae6e3c6b3c3b65cd955bb10fb9065beebc5ffd2)
Diffstat (limited to 'documentation/api/modules/luci.http.html')
-rw-r--r--documentation/api/modules/luci.http.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/api/modules/luci.http.html b/documentation/api/modules/luci.http.html
index d75863fa6e..4731727849 100644
--- a/documentation/api/modules/luci.http.html
+++ b/documentation/api/modules/luci.http.html
@@ -644,13 +644,13 @@ Stores all extracted data associated with its parameter name
in the params table within the given message object. Multiple parameter
values are stored as tables, ordinary ones as strings.
-If an optional file callback function is given then it is feeded with the
+If an optional file callback function is given then it is fed with the
file contents chunk by chunk and only the extracted file name is stored
within the params table. The callback function will be called subsequently
with three arguments:
o Table containing decoded (name, file) and raw (headers) mime header data
o String value containing a chunk of the file data
- o Boolean which indicates wheather the current chunk is the last one (eof)
+ o Boolean which indicates whether the current chunk is the last one (eof)