projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Fixed webuci bootstrapper
[project/luci.git]
/
core
/
src
/
ffluci
/
sgi
/
haserl.lua
diff --git
a/core/src/ffluci/sgi/haserl.lua
b/core/src/ffluci/sgi/haserl.lua
index
0db558d
..
6fefd7b
100644
(file)
--- a/
core/src/ffluci/sgi/haserl.lua
+++ b/
core/src/ffluci/sgi/haserl.lua
@@
-53,6
+53,10
@@
function ffluci.http.formvaluetable(prefix)
return ffluci.http.formvalue(prefix, {})
end
+-- Sends a custom HTTP-Header
+function ffluci.http.header(key, value)
+ print(key .. ": " .. value)
+end
-- Set Content-Type
function ffluci.http.prepare_content(type)