diff options
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 |
commit | 35e3b8c40fcec5516f888ed5ba578e3a94f49257 (patch) | |
tree | ef3b4ff0e4a12aa399bf290523a88b1c3975f3ce /api/channel.go | |
parent | ab1f5acf4d573cc1fae4936650d7e2eb07afdb2e (diff) | |
download | chat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.tar.gz chat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.tar.bz2 chat-35e3b8c40fcec5516f888ed5ba578e3a94f49257.zip |
Fixing IE expire issue
Diffstat (limited to 'api/channel.go')
-rw-r--r-- | api/channel.go | 2 |
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())) } } |