libs/web: Set Expires-Header
authorSteven Barth <steven@midlink.org>
Wed, 20 Aug 2008 19:04:10 +0000 (19:04 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 20 Aug 2008 19:04:10 +0000 (19:04 +0000)
libs/web/luasrc/http.lua

index e26b3b5..4fa6438 100644 (file)
@@ -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