Fix format of Cache-Control header

This commit is contained in:
Matt Robenolt 2015-03-23 21:58:29 -07:00
parent 5f0e7cd52a
commit 3e9adeefbc

View File

@ -35,6 +35,6 @@ func GetDashboardSnapshot(c *middleware.Context) {
Meta: dtos.DashboardMeta{IsSnapshot: true},
}
c.Resp.Header().Set("Cache-Control", "public max-age: 31536000")
c.Resp.Header().Set("Cache-Control", "public, max-age=31536000")
c.JSON(200, dto)
}