mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-24 16:41:20 -04:00
Revert "Implement Caddy-Sponsors HTTP response header" (#1866)
This reverts commit 56453e9664.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user