diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-02-12 08:06:41 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-02-12 08:06:41 -0500 |
commit | 0807fe5b05d9febe40442a64d89f2d16a951a26a (patch) | |
tree | 91d60f9a8433ad20ae49442ed6c9649a1193eaf5 /api/user.go | |
parent | 3f50aa473405fe34ec618e0b3618f939d9ba8a99 (diff) | |
parent | 35e3b8c40fcec5516f888ed5ba578e3a94f49257 (diff) | |
download | chat-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/user.go')
-rw-r--r-- | api/user.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go index db8de5f6a..7919da168 100644 --- a/api/user.go +++ b/api/user.go @@ -897,7 +897,6 @@ func getMe(c *Context, w http.ResponseWriter, r *http.Request) { } else { result.Data.(*model.User).Sanitize(map[string]bool{}) w.Header().Set(model.HEADER_ETAG_SERVER, result.Data.(*model.User).Etag()) - w.Header().Set("Expires", "-1") w.Write([]byte(result.Data.(*model.User).ToJson())) return } |