Revert "Implement Caddy-Sponsors HTTP response header" (#1866)

This reverts commit 56453e9664.
This commit is contained in:
Adam Williams authored and Matt Holt committed 2017-09-14 21:42:22 -06:00
1 parent bc56793d3b
commit b6e10e3cb2
2 files changed
-6

No files matched your search

-2
View File
@@ -343,8 +343,6 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
r = r.WithContext(c)
w.Header().Set("Server", caddy.AppName)
sponsors := "Minio, Uptime Robot, and Sourcegraph"
w.Header().Set("Caddy-Sponsors", "This free web server is made possible by its sponsors: "+sponsors)
status, _ := s.serveHTTP(w, r)