summaryrefslogtreecommitdiffstats
path: root/api/channel.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/channel.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/channel.go')
-rw-r--r--api/channel.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/channel.go b/api/channel.go
index ff5b0f8da..e97e08fc0 100644
--- a/api/channel.go
+++ b/api/channel.go
@@ -729,7 +729,6 @@ func getChannel(c *Context, w http.ResponseWriter, r *http.Request) {
return
} else {
w.Header().Set(model.HEADER_ETAG_SERVER, data.Etag())
- w.Header().Set("Expires", "-1")
w.Write([]byte(data.ToJson()))
}
}
@@ -798,7 +797,6 @@ func getChannelExtraInfo(c *Context, w http.ResponseWriter, r *http.Request) {
data := model.ChannelExtra{Id: channel.Id, Members: extraMembers, MemberCount: memberCount}
w.Header().Set(model.HEADER_ETAG_SERVER, extraEtag)
- w.Header().Set("Expires", "-1")
w.Write([]byte(data.ToJson()))
}
}