Merge pull request #205 from Akito13/master

Fixed typo
This commit is contained in:
Andrea Spacca 2019-03-30 13:08:50 +01:00 committed by GitHub
commit c4dbd39527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -437,7 +437,7 @@ func (s *Server) putHandler(w http.ResponseWriter, r *http.Request) {
if contentLength == 0 {
log.Print("Empty content-length")
http.Error(w, errors.New("Could not uplpoad empty file").Error(), 400)
http.Error(w, errors.New("Could not upload empty file").Error(), 400)
return
}