Fix formatting for adding ETag for exposed headers (#1687)

master
Frank 9 years ago committed by Harshavardhana
parent 404364ba73
commit a4fef436c8
  1. 1
      generic-handlers.go

@ -198,6 +198,7 @@ func setCorsHandler(h http.Handler) http.Handler {
AllowedOrigins: []string{"*"}, AllowedOrigins: []string{"*"},
AllowedMethods: []string{"GET", "HEAD", "POST", "PUT"}, AllowedMethods: []string{"GET", "HEAD", "POST", "PUT"},
AllowedHeaders: []string{"*"}, AllowedHeaders: []string{"*"},
ExposedHeaders: []string{"ETag"},
}) })
return c.Handler(h) return c.Handler(h)
} }

Loading…
Cancel
Save