This commit is contained in:
Henrique Dias
2017-07-29 11:53:34 +01:00
parent c89875d454
commit adfc66896d
2 changed files with 31 additions and 5 deletions

View File

@@ -387,6 +387,7 @@ func (m *FileManager) ServeHTTP(w http.ResponseWriter, r *http.Request) {
log.Print(err)
w.Write([]byte(err.Error()))
} else {
log.Print(code)
w.Write([]byte(http.StatusText(code)))
}
}