summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-20 19:04:10 +0000
committerSteven Barth <steven@midlink.org>2008-08-20 19:04:10 +0000
commit0e1ec77d17f262c20d87d3e289a67cd9dc4ba10e (patch)
treed5dff349b2354312346ea355a2c08f7984502473 /libs
parent7590274b21da38452bb4a4ad34b3ddf27385483e (diff)
libs/web: Set Expires-Header
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/http.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua
index e26b3b5db..4fa643865 100644
--- a/libs/web/luasrc/http.lua
+++ b/libs/web/luasrc/http.lua
@@ -211,6 +211,7 @@ function write(content, src_err)
end
if not context.headers["cache-control"] then
header("Cache-Control", "no-cache")
+ header("Expires", "0")
end