summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-02-12 08:06:41 -0500
committerChristopher Speller <crspeller@gmail.com>2016-02-12 08:06:41 -0500
commit0807fe5b05d9febe40442a64d89f2d16a951a26a (patch)
tree91d60f9a8433ad20ae49442ed6c9649a1193eaf5 /api/post.go
parent3f50aa473405fe34ec618e0b3618f939d9ba8a99 (diff)
parent35e3b8c40fcec5516f888ed5ba578e3a94f49257 (diff)
downloadchat-0807fe5b05d9febe40442a64d89f2d16a951a26a.tar.gz
chat-0807fe5b05d9febe40442a64d89f2d16a951a26a.tar.bz2
chat-0807fe5b05d9febe40442a64d89f2d16a951a26a.zip
Merge pull request #2157 from mattermost/ie-cache-fix
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()))
}