package routes import "net/http" func AddFont(w http.ResponseWriter, r *http.Request) { if r.Header.Get("Content-Type") != "font/ttf" { http.Error(w, "", http.StatusUnsupportedMediaType) return } }