--- a/response.go Sat Jan 04 09:17:21 2020 -0600
+++ b/response.go Sat Jan 04 14:27:20 2020 -0600
@@ -52,6 +52,11 @@
func (w *responseWriter) WriteHeader(code int) {
+ if code == http.StatusNotFound && w.notFoundFile != "" { + w.w.Header().Set("Content-Type", "text/html")