Browse Source

Merge pull request #205 from Akito13/master

Fixed typo
tags/v1.0.0
Andrea Spacca 5 years ago
committed by GitHub
parent
commit
c4dbd39527
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go 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
}



Loading…
Cancel
Save