We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ece076 commit 3c096baCopy full SHA for 3c096ba
1 file changed
main.go
@@ -93,6 +93,7 @@ func initQueryHandler(dbPath string, queryString string, serverPort uint) (func(
93
return func(w http.ResponseWriter, r *http.Request) {
94
w.Header().Set("Server", "SQLiteQueryServer v"+version)
95
w.Header().Set("Access-Control-Allow-Origin", "*")
96
+ w.Header().Set("X-Content-Type-Options", "nosniff")
97
98
if r.URL.Path != "/query" {
99
http.Error(w, helpMessage, http.StatusNotFound)
0 commit comments