Permalink
Browse files

HeaderMap -> Header

  • Loading branch information...
1 parent ebf2de5 commit 12f170aef6bc4e4c49181b9a547aa4db41485096 @stevela committed with Steve Lacey Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 samples/blog_lwbd/blog_lwbd.go
@@ -140,7 +140,7 @@ func main() {
// Expiry for static content.
const maxAge = 60 * 60 * 24 * 365 * 10
- fileHeaders := web.HeaderMap{
+ fileHeaders := web.Header{
web.HeaderExpires: {fmt.Sprintf("%d", maxAge)},
web.HeaderCacheControl: {fmt.Sprintf("max-age=%d", maxAge)},
}

0 comments on commit 12f170a

Please sign in to comment.