diff options
author | Steven Barth <steven@midlink.org> | 2008-08-20 19:04:10 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-20 19:04:10 +0000 |
commit | 0e1ec77d17f262c20d87d3e289a67cd9dc4ba10e (patch) | |
tree | d5dff349b2354312346ea355a2c08f7984502473 | |
parent | 7590274b21da38452bb4a4ad34b3ddf27385483e (diff) |
libs/web: Set Expires-Header
-rw-r--r-- | libs/web/luasrc/http.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/http.lua b/libs/web/luasrc/http.lua index e26b3b5dbb..4fa6438653 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 |