func addMimeType(fileName string, w http.ResponseWriter) {
	if !strings.Contains(fileName, ".") {
		fileName = ".txt"
	}
	extension := filepath.Ext(fileName)
	mimeType := mime.TypeByExtension(extension)
	w.Header().Add(HeaderContentType, mimeType)
}
// addMimeType adds the applicable mime type to the response.  Files without extensions are assumed to be text
addMimeType adds the applicable mime type to the response.  Files without extensions are assumed to be text
// addMimeType adds the applicable mime type to the response . Files without extensions are assumed to be text
func addMimeType(fileName string, w http.ResponseWriter) {
	if !strings.Contains(fileName, ".") {
		fileName = ".txt"
	}
	extension := filepath.Ext(fileName)
	mimeType := mime.TypeByExtension(extension)
	w.Header().Add(HeaderContentType, mimeType)
}
func addMimeType ( fileName string , w http . ResponseWriter ) { if ! strings . Contains ( fileName , " " ) { fileName = " " } extension := filepath . Ext ( fileName ) mimeType := mime . TypeByExtension ( extension ) w . Header ( ) . Add ( HeaderContentType , mimeType ) }
addMimeType adds the applicable mime type to the response.
addMimeType adds the applicable mime type to the response .