From 1959d7e9eadd57490e051d3e0a19407afcae2a09 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Tue, 8 Sep 2026 19:34:24 -0700 Subject: Rely on content sniffing for static templates --- roseh.moe.go | 1 - 1 file changed, 1 deletion(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index 5be22ce..aa2da29 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -209,7 +209,6 @@ type staticHandler struct { } func (h *staticHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("ETag", h.eTag) http.ServeContent(w, r, "", time.Time{}, strings.NewReader(h.content)) } -- cgit v1.3.1