1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-19 02:27:03 +00:00

Fix some IE rendering/caching issues

This commit is contained in:
James Hillyerd
2012-10-14 13:09:25 -07:00
parent 6834d71c9b
commit 264d1d0165
4 changed files with 29 additions and 24 deletions

View File

@@ -29,6 +29,7 @@ func (c Mailbox) List(name string) rev.Result {
}
rev.INFO.Printf("Got %v messsages", len(messages))
c.Response.Out.Header().Set("Expires", "-1")
return c.Render(name, messages)
}
@@ -53,6 +54,7 @@ func (c Mailbox) Show(name string, id string) rev.Result {
return c.Redirect(Application.Index)
}
c.Response.Out.Header().Set("Expires", "-1")
return c.Render(name, message, body)
}
@@ -100,5 +102,6 @@ func (c Mailbox) Source(name string, id string) rev.Result {
return c.Redirect(Application.Index)
}
c.Response.Out.Header().Set("Expires", "-1")
return c.RenderText(*raw)
}