summaryrefslogtreecommitdiffhomepage
path: root/core/src/ffluci/sgi/haserl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ffluci/sgi/haserl.lua')
-rw-r--r--core/src/ffluci/sgi/haserl.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/ffluci/sgi/haserl.lua b/core/src/ffluci/sgi/haserl.lua
index 0db558d990..6fefd7baf8 100644
--- 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)