i guess this should be nosniff?
This commit is contained in:
parent
58b051dfc3
commit
d067bebbd2
1 changed files with 1 additions and 0 deletions
1
honk.go
1
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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue