From 3e9adeefbcf81ba1633801582fe8e553dfeeb73d Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Mon, 23 Mar 2015 21:58:29 -0700 Subject: [PATCH] Fix format of Cache-Control header --- pkg/api/dashboard_snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/dashboard_snapshot.go b/pkg/api/dashboard_snapshot.go index e4841074901..aa20c4b8a7f 100644 --- a/pkg/api/dashboard_snapshot.go +++ b/pkg/api/dashboard_snapshot.go @@ -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) }