server.go: Add header to allow any site to access it
Bug: Issue 12339 Change-Id: Ic884b6c16b95dac82e3babf9783f4b713a573ca2
This commit is contained in:
@@ -463,6 +463,7 @@ func (_ *server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
w.Header().Set("Content-Encoding", "gzip")
|
||||
addDevHeaders(w)
|
||||
gzw := newGzipResponseWriter(w)
|
||||
defer gzw.Close()
|
||||
http.DefaultServeMux.ServeHTTP(gzw, r)
|
||||
|
||||
Reference in New Issue
Block a user