From d067bebbd2b3808010e603bf0d5eed59c12c469a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 17 Apr 2019 12:32:50 -0400 Subject: [PATCH] i guess this should be nosniff? --- honk.go | 1 + 1 file changed, 1 insertion(+) diff --git a/honk.go b/honk.go index 8dbc0f5..12cf27e 100644 --- a/honk.go +++ b/honk.go @@ -957,6 +957,7 @@ func servefile(w http.ResponseWriter, r *http.Request) { return } w.Header().Set("Content-Type", media) + w.Header().Set("X-Content-Type-Options", "nosniff") w.Header().Set("Cache-Control", "max-age="+somedays()) w.Write(data) }