summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-02-11 13:17:27 -0800
committer=Corey Hulen <corey@hulen.com>2016-02-11 13:17:27 -0800
commit35e3b8c40fcec5516f888ed5ba578e3a94f49257 (patch)
treeef3b4ff0e4a12aa399bf290523a88b1c3975f3ce /api/post.go
parentab1f5acf4d573cc1fae4936650d7e2eb07afdb2e (diff)
downloadchat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.tar.gz
chat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.tar.bz2
chat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.zip
Fixing IE expire issue
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index fadabd66e..9d3ba5ab1 100644
--- a/api/post.go
+++ b/api/post.go
@@ -1197,6 +1197,5 @@ func searchPosts(c *Context, w http.ResponseWriter, r *http.Request) {
}
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
- w.Header().Set("Expires", "0")
w.Write([]byte(posts.ToJson()))
}