Skip to content

Commit 97c9835

Browse files
committed
Adjust returned content type of opensearch.xml to application/xml
1 parent 6fa38cd commit 97c9835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/favicon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ func browserconfigXML(w http.ResponseWriter, r *http.Request) {
17181718
}
17191719

17201720
func opensearchXML(w http.ResponseWriter, r *http.Request) {
1721-
w.Header().Set("Content-Type", "application/opensearchdescription+xml")
1721+
w.Header().Set("Content-Type", "application/xml")
17221722
setExpiresHeader(w)
17231723

17241724
w.Write([]byte(`<?xml version="1.0" encoding="utf-8"?>

0 commit comments

Comments
 (0)