summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/static/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/service/static/config.go b/service/static/config.go
index eda459a7..3ca20a83 100644
--- a/service/static/config.go
+++ b/service/static/config.go
@@ -20,6 +20,12 @@ type Config struct {
// Always specifies list of extensions which must always be served by static
// service, even if file not found.
Always []string
+
+ // Request headers to add to every static.
+ Request map[string]string
+
+ // Response headers to add to every static.
+ Response map[string]string
}
// Hydrate must populate Config values using given Config source. Must return error if Config is not valid.