summaryrefslogtreecommitdiffstats
path: root/deploy/deployConfig.go
diff options
context:
space:
mode:
authorRobert van Gent <rvangent@google.com>2019-05-31 09:55:48 -0700
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-05-31 22:08:12 +0200
commitb0f536fb276f63df0b0b8d92aeda80affb4b6a34 (patch)
tree616249222d6f07e56c7c71af6bce793d5a5939f0 /deploy/deployConfig.go
parent1384d77a04d7027d719993c6f54f892b5e7974db (diff)
Drop dashes in http header matcher attributes; other changes from code review
Diffstat (limited to 'deploy/deployConfig.go')
-rw-r--r--deploy/deployConfig.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/deployConfig.go b/deploy/deployConfig.go
index b4fa325b7..0ea675b82 100644
--- a/deploy/deployConfig.go
+++ b/deploy/deployConfig.go
@@ -48,15 +48,15 @@ type matcher struct {
// CacheControl specifies caching attributes to use when serving the blob.
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
- CacheControl string `mapstructure:"Cache-Control"`
+ CacheControl string
// ContentEncoding specifies the encoding used for the blob's content, if any.
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
- ContentEncoding string `mapstructure:"Content-Encoding"`
+ ContentEncoding string
// ContentType specifies the MIME type of the blob being written.
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type
- ContentType string `mapstructure:"Content-Type"`
+ ContentType string
// Gzip determines whether the file should be gzipped before upload.
// If so, the ContentEncoding field will automatically be set to "gzip".